2 # Copyright (C) 2006-2014 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
16 PKG_SOURCE_URL
:=@SF
/$(PKG_NAME
)
17 PKG_HASH
:=0892b44bd817c251264a24f6ecbbb010958033e0395d2030f25f1c5608ac780e
18 PKG_MAINTAINER
:=Richard Kunze
<richard.kunze@web.de
>
19 PKG_LICENSE
:=BSD-Style Open Source License
21 include $(INCLUDE_DIR
)/package.mk
23 TARGET_CFLAGS
+=-D_GNU_SOURCE
29 TITLE
:=Hard disk drive configuration utilitity
30 URL
:=http
://sourceforge.net
/projects
/hdparm
/
33 define Package
/hdparm
/description
34 get/set SATA
/IDE device parameters
37 define Package
/hdparm
/install
38 $(INSTALL_DIR
) $(1)/sbin
39 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/$(PKG_NAME
) $(1)/sbin
42 $(eval
$(call BuildPackage
,hdparm
))