[PATCHv2] [packages] utils/hdparm: update to 9.12
[openwrt/svn-archive/archive.git] / utils / hdparm / Makefile
1 #
2 # Copyright (C) 2006-2008 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.12
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=@SF/$(PKG_NAME)
16 PKG_MD5SUM:=4064cb2cc60b7bbdcea02ec163631068
17
18 include $(INCLUDE_DIR)/package.mk
19
20 define Package/hdparm
21 SECTION:=utils
22 CATEGORY:=Utilities
23 TITLE:=Hard disk drive configuration utilitity
24 URL:=http://sourceforge.net/projects/hdparm/
25 endef
26
27 define Package/hdparm/description
28 Tune hard disk parameters for high performance.
29 Get/set hard disk parameters for Linux IDE drives.
30 Primary use is for enabling irq-unmasking and IDE multiplemode.
31 endef
32
33 MAKE_FLAGS += \
34 CFLAGS="$(EXTRA_CFLAGS)" \
35 LDFLAGS="$(EXTRA_LDFLAGS)" \
36
37 define Package/hdparm/install
38 $(INSTALL_DIR) $(1)/sbin
39 $(INSTALL_BIN) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/sbin
40 endef
41
42 $(eval $(call BuildPackage,hdparm))