Merge pull request #11353 from kvuorine/fwknop-fixes
[feed/packages.git] / utils / hdparm / Makefile
1 #
2 # Copyright (C) 2006-2014 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=hdparm
11 PKG_VERSION:=9.58
12 PKG_RELEASE:=2
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=@SF/$(PKG_NAME)
16 PKG_HASH:=9ae78e883f3ce071d32ee0f1b9a2845a634fc4dd94a434e653fdbef551c5e10f
17
18 PKG_MAINTAINER:=
19 PKG_LICENSE:=BSD-Style Open Source License
20 PKG_LICENSE_FILES:=LICENSE.TXT
21
22 include $(INCLUDE_DIR)/package.mk
23
24 define Package/hdparm
25 SECTION:=utils
26 CATEGORY:=Utilities
27 SUBMENU:=Disc
28 TITLE:=Hard disk drive configuration utilitity
29 URL:=https://sourceforge.net/projects/hdparm/
30 endef
31
32 define Package/hdparm/description
33 get/set SATA/IDE device parameters
34 endef
35
36 define Package/hdparm/install
37 $(INSTALL_DIR) $(1)/sbin
38 $(INSTALL_BIN) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/sbin
39 endef
40
41 $(eval $(call BuildPackage,hdparm))