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