X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/93ce9f48ec0d7098c86d38f7f8304ce564f3b26d..9eef5d78c3ee327718f7372bf6b3ef9fe051e921:/package/ntpclient/Makefile?ds=inline diff --git a/package/ntpclient/Makefile b/package/ntpclient/Makefile index 02c063776..31fe55194 100644 --- a/package/ntpclient/Makefile +++ b/package/ntpclient/Makefile @@ -1,8 +1,10 @@ +# $Id$ + include $(TOPDIR)/rules.mk PKG_NAME:=ntpclient PKG_VERSION:=2003_194 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_MD5SUM:=94e84d5c6023c5e1f3890b28d0a08c92 PKG_SOURCE_URL:=http://doolittle.faludi.com/ntpclient @@ -15,13 +17,17 @@ include $(TOPDIR)/package/rules.mk $(eval $(call PKG_template,NTPCLIENT,ntpclient,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) +$(PKG_BUILD_DIR)/.configured: + touch $@ + $(PKG_BUILD_DIR)/.built: $(MAKE) -C $(PKG_BUILD_DIR) \ CC=$(TARGET_CC) CFLAGS="$(TARGET_CFLAGS)" + touch $@ $(IPKG_NTPCLIENT): - install -d -m0755 $(IDIR_NTPCLIENT)/etc/init.d - install -m0755 ./files/ntpclient.init $(IDIR_NTPCLIENT)/etc/init.d/S41ntpclient + install -d -m0755 $(IDIR_NTPCLIENT)/etc/hotplug.d/iface + install -m0755 ./files/ntpclient.init $(IDIR_NTPCLIENT)/etc/hotplug.d/iface/10-ntpclient install -d -m0755 $(IDIR_NTPCLIENT)/usr/sbin install -m0755 $(PKG_BUILD_DIR)/ntpclient $(IDIR_NTPCLIENT)/usr/sbin/ $(RSTRIP) $(IDIR_NTPCLIENT)