Add missing svn:keywords and Id tags
[openwrt.git] / openwrt / package / hdparm / Makefile
1 include $(TOPDIR)/rules.mk
2
3 PKG_NAME:=hdparm
4 PKG_VERSION:=6.6
5 PKG_RELEASE:=1
6 PKG_MD5SUM:=ecea69f775396e4ab6112dcf9066239f
7
8 PKG_SOURCE_URL:=@SF/hdparm
9 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
10 PKG_CAT:=zcat
11
12 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
13 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
14
15 include $(TOPDIR)/package/rules.mk
16
17 $(eval $(call PKG_template,HDPARM,hdparm,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
18
19 $(PKG_BUILD_DIR)/.configured:
20 touch $@
21
22 $(PKG_BUILD_DIR)/.built:
23 $(MAKE) -C $(PKG_BUILD_DIR) \
24 CC=$(TARGET_CC)
25 touch $@
26
27 $(IPKG_HDPARM):
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)
32
33 mostlyclean:
34 $(MAKE) -C $(PKG_BUILD_DIR) \
35 clean
36 rm -f $(PKG_BUILD_DIR)/.built
This page took 0.048123 seconds and 5 git commands to generate.