From fe6af23ad45e116649d8e2f219146980eacf593f Mon Sep 17 00:00:00 2001 From: mbm Date: Fri, 27 Aug 2004 23:20:34 +0000 Subject: buildroot-20040827-matrixssl.patch.txt buildroot-20040827-ntpclient.patch.txt buildroot-20040827-radvd.patch.txt buildroot-20040827-strace.patch.txt git-svn-id: svn://svn.openwrt.org/openwrt/trunk@152 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- obsolete-buildroot/make/ntpclient.mk | 38 ++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 obsolete-buildroot/make/ntpclient.mk (limited to 'obsolete-buildroot/make/ntpclient.mk') diff --git a/obsolete-buildroot/make/ntpclient.mk b/obsolete-buildroot/make/ntpclient.mk new file mode 100644 index 000000000..131f5e4ac --- /dev/null +++ b/obsolete-buildroot/make/ntpclient.mk @@ -0,0 +1,38 @@ +############################################################# +# +# ntpclient +# +############################################################# +NTPCLIENT_VERSION:=2003_194 +NTPCLIENT_SOURCE:=ntpclient_$(NTPCLIENT_VERSION).tar.gz +NTPCLIENT_SITE:=http://doolittle.faludi.com/ntpclient +NTPCLIENT_DIR:=$(BUILD_DIR)/ntpclient +NTPCLIENT_IPK=$(BUILD_DIR)/ntpclient_$(NTPCLIENT_VERSION)-1_mipsel.ipk +NTPCLIENT_IPK_DIR:=$(BUILD_DIR)/ntpclient-$(NTPCLIENT_VERSION)-ipk + +$(DL_DIR)/$(NTPCLIENT_SOURCE): + $(WGET) -P $(DL_DIR) $(NTPCLIENT_SITE)/$(NTPCLIENT_SOURCE) + +ntpclient-source: $(DL_DIR)/$(NTPCLIENT_SOURCE) + +$(NTPCLIENT_DIR)/.unpacked: $(DL_DIR)/$(NTPCLIENT_SOURCE) + tar -C $(BUILD_DIR) -zxf $(DL_DIR)/$(NTPCLIENT_SOURCE) + touch $(NTPCLIENT_DIR)/.unpacked + +$(NTPCLIENT_DIR)/ntpclient: $(NTPCLIENT_DIR)/.unpacked + CFLAGS="$(TARGET_CFLAGS)" $(MAKE) $(TARGET_CONFIGURE_OPTS) LD=$(TARGET_CC) -C $(NTPCLIENT_DIR) + +$(NTPCLIENT_IPK): $(NTPCLIENT_DIR)/ntpclient + mkdir -p $(NTPCLIENT_IPK_DIR)/CONTROL $(NTPCLIENT_IPK_DIR)/usr/sbin + install -m 644 $(OPENWRT_IPK_DIR)/ntpclient/CONTROL/control $(NTPCLIENT_IPK_DIR)/CONTROL + install -m 755 $(NTPCLIENT_DIR)/ntpclient $(NTPCLIENT_IPK_DIR)/usr/sbin/ + $(STRIP) $(NTPCLIENT_IPK_DIR)/usr/sbin/ntpclient + cd $(BUILD_DIR); $(IPKG_BUILD) $(NTPCLIENT_IPK_DIR) + +ntpclient-ipk : uclibc $(NTPCLIENT_IPK) + +ntpclient-clean: + -$(MAKE) -C $(NTPCLIENT_DIR) clean + +ntpclient-dirclean: + rm -rf $(NTPCLIENT_DIR) $(NTPCLIENT_IPK_DIR) -- cgit v1.2.3