2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR
)/rules.mk
15 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
16 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
17 PKG_SOURCE_URL
:=@SF
/hdparm
18 PKG_MD5SUM
:=ecea69f775396e4ab6112dcf9066239f
21 PKG_INSTALL_DIR
:=$(PKG_BUILD_DIR
)/ipkg-install
23 include $(INCLUDE_DIR
)/package.mk
28 TITLE
:=Hard disk drive configuration utilitity
29 DESCRIPTION
:=Hard disk drive configuration utilitity.
\\\
30 Tune hard disk parameters for high performance.
\\\
31 Get
/set hard disk parameters for Linux IDE drives.
\\\
32 Primary use is for enabling irq-unmasking and IDE multiplemode.
33 URL
:=http
://sourceforge.net
/projects
/hdparm
/
36 define Build
/Configure
40 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
44 define Package
/hdparm
/install
45 install -d
-m0755
$(1)/usr
/sbin
46 install -m0755
$(PKG_BUILD_DIR
)/hdparm
$(1)/usr
/sbin
49 $(eval
$(call BuildPackage
,hdparm
))