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_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
16 PKG_SOURCE_URL
:=@SF
/hdparm
17 PKG_MD5SUM
:=ecea69f775396e4ab6112dcf9066239f
19 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
21 include $(INCLUDE_DIR
)/package.mk
26 TITLE
:=Hard disk drive configuration utilitity
27 URL
:=http
://sourceforge.net
/projects
/hdparm
/
30 define Package
/hdparm
/description
31 Tune hard disk parameters for high performance.
32 Get
/set hard disk parameters for Linux IDE drives.
33 Primary use is for enabling irq-unmasking and IDE multiplemode.
36 define Build
/Configure
40 $(call Build
/Compile
/Default
, \
41 CFLAGS
="$(EXTRA_CFLAGS)" \
42 LDFLAGS
="$(EXTRA_LDFLAGS)" \
46 define Package
/hdparm
/install
47 $(INSTALL_DIR
) $(1)/usr
/sbin
48 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/hdparm
$(1)/usr
/sbin
51 $(eval
$(call BuildPackage
,hdparm
))