X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/948375bd6d59665c328e273118f7d4d7ea201098..35d0313a5cb927ddc4882ae01bb411d844e8cffc:/openwrt/package/htpdate/Makefile diff --git a/openwrt/package/htpdate/Makefile b/openwrt/package/htpdate/Makefile index 0324eb570..b5291cc4e 100644 --- a/openwrt/package/htpdate/Makefile +++ b/openwrt/package/htpdate/Makefile @@ -3,9 +3,9 @@ include $(TOPDIR)/rules.mk PKG_NAME:=htpdate -PKG_VERSION:=0.7.2 +PKG_VERSION:=0.8.2 PKG_RELEASE:=1 -PKG_MD5SUM:=5b5ab483bdb3ebe155c72197e1b885f6 +PKG_MD5SUM:=f1d8c0706a6a60f880ce6a0dccbb99a3 PKG_SOURCE_URL:=http://www.clevervest.com/htp/archive/c/ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz @@ -19,21 +19,22 @@ include $(TOPDIR)/package/rules.mk $(eval $(call PKG_template,HTPDATE,htpdate,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) $(PKG_BUILD_DIR)/.configured: - touch $(PKG_BUILD_DIR)/.configured + touch $@ $(PKG_BUILD_DIR)/.built: $(MAKE) -C $(PKG_BUILD_DIR) \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS)" - touch $(PKG_BUILD_DIR)/.built + touch $@ $(IPKG_HTPDATE): install -d -m0755 $(IDIR_HTPDATE)/etc/default/ install -m0644 ./files/htpdate.default $(IDIR_HTPDATE)/etc/default/htpdate install -d -m0755 $(IDIR_HTPDATE)/etc/init.d/ install -m0755 ./files/htpdate.init $(IDIR_HTPDATE)/etc/init.d/htpdate + ln -sf htpdate $(IDIR_HTPDATE)/etc/init.d/S49htpdate install -d -m0755 $(IDIR_HTPDATE)/usr/sbin - cp -fpR $(PKG_BUILD_DIR)/htpdate $(IDIR_HTPDATE)/usr/sbin/ + install -m0755 $(PKG_BUILD_DIR)/htpdate $(IDIR_HTPDATE)/usr/sbin/ $(RSTRIP) $(IDIR_HTPDATE) $(IPKG_BUILD) $(IDIR_HTPDATE) $(PACKAGE_DIR)