Add missing .configured target causing superfluous package rebuild, touch .built too
[openwrt.git] / openwrt / package / ntpclient / Makefile
1 include $(TOPDIR)/rules.mk
2
3 PKG_NAME:=ntpclient
4 PKG_VERSION:=2003_194
5 PKG_RELEASE:=1
6 PKG_MD5SUM:=94e84d5c6023c5e1f3890b28d0a08c92
7
8 PKG_SOURCE_URL:=http://doolittle.faludi.com/ntpclient
9 PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).tar.gz
10 PKG_CAT:=zcat
11
12 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
13
14 include $(TOPDIR)/package/rules.mk
15
16 $(eval $(call PKG_template,NTPCLIENT,ntpclient,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
17
18 $(PKG_BUILD_DIR)/.configured:
19 touch $(PKG_BUILD_DIR)/.configured
20
21 $(PKG_BUILD_DIR)/.built:
22 $(MAKE) -C $(PKG_BUILD_DIR) \
23 CC=$(TARGET_CC) CFLAGS="$(TARGET_CFLAGS)"
24 touch $(PKG_BUILD_DIR)/.built
25
26 $(IPKG_NTPCLIENT):
27 install -d -m0755 $(IDIR_NTPCLIENT)/etc/init.d
28 install -m0755 ./files/ntpclient.init $(IDIR_NTPCLIENT)/etc/init.d/S41ntpclient
29 install -d -m0755 $(IDIR_NTPCLIENT)/usr/sbin
30 install -m0755 $(PKG_BUILD_DIR)/ntpclient $(IDIR_NTPCLIENT)/usr/sbin/
31 $(RSTRIP) $(IDIR_NTPCLIENT)
32 $(IPKG_BUILD) $(IDIR_NTPCLIENT) $(PACKAGE_DIR)
33
This page took 0.039979 seconds and 5 git commands to generate.