upgrade hdparm
[openwrt/svn-archive/archive.git] / utils / hdparm / Makefile
1 #
2 # Copyright (C) 2006-2011 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.37
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=@SF/$(PKG_NAME)
16 PKG_MD5SUM:=0bb94ddd1bedd5c02b1ca62f1caaf6de
17
18 include $(INCLUDE_DIR)/package.mk
19
20 define Package/hdparm
21 SECTION:=utils
22 CATEGORY:=Utilities
23 SUBMENU:=disc
24 TITLE:=Hard disk drive configuration utilitity
25 URL:=http://sourceforge.net/projects/hdparm/
26 MAINTAINER:=Luka Perkov <openwrt@lukaperkov.net>
27 endef
28
29 define Package/hdparm/description
30 get/set SATA/IDE device parameters
31 endef
32
33 define Package/hdparm/install
34 $(INSTALL_DIR) $(1)/sbin
35 $(INSTALL_BIN) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/sbin
36 endef
37
38 $(eval $(call BuildPackage,hdparm))