1 include $(TOPDIR
)/rules.mk
6 PKG_MD5SUM
:=ecea69f775396e4ab6112dcf9066239f
8 PKG_SOURCE_URL
:=@SF
/hdparm
9 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
12 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
13 PKG_INSTALL_DIR
:=$(PKG_BUILD_DIR
)/ipkg-install
15 include $(TOPDIR
)/package
/rules.mk
17 $(eval
$(call PKG_template
,HDPARM
,hdparm
,$(PKG_VERSION
)-$(PKG_RELEASE
),$(ARCH
)))
19 $(PKG_BUILD_DIR
)/.configured
:
22 $(PKG_BUILD_DIR
)/.built
:
23 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
28 install -d
-m0755
$(IDIR_HDPARM
)/usr
/sbin
29 install -m0755
$(PKG_BUILD_DIR
)/hdparm
$(IDIR_HDPARM
)/usr
/sbin
30 $(RSTRIP
) $(IDIR_HDPARM
)
31 $(IPKG_BUILD
) $(IDIR_HDPARM
) $(PACKAGE_DIR
)
34 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
36 rm -f
$(PKG_BUILD_DIR
)/.built