English Language flag
// Log In
// CVSweb
Project: FreeWRT
// Summary // Activity // Search // Tracker // Lists // News // SCM // Wiki

SCM Repository

ViewVC logotype

Contents of /branches/freewrt_1_0/package/ntpclient/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3358 - (show annotations) (download)
Fri Jul 27 08:45:46 2007 UTC (6 years, 7 months ago) by tg
File size: 1074 byte(s)
use our vendor zone, this is important to prevent desasters
note: people deploying appliances based upon FreeWRT in very
large numbers (thousands, or even more) should definitively
get their own vendor zone instead

1 # $FreeWRT$
2 #-
3 # This file is part of the FreeWRT project. FreeWRT is copyrighted
4 # material, please see the LICENCE file in the top-level directory
5 # or at http://www.freewrt.org/licence for details.
6
7 include $(TOPDIR)/rules.mk
8
9 PKG_NAME:= ntpclient
10 PKG_VERSION:= 2003_194
11 PKG_RELEASE:= 4
12 PKG_MD5SUM:= 94e84d5c6023c5e1f3890b28d0a08c92
13
14 PKG_SOURCE_URL:= http://doolittle.icarus.com/ntpclient/
15 PKG_SOURCE:= $(PKG_NAME)_$(PKG_VERSION).tar.gz
16
17 WRKSRC= ${WRKDIR}/$(PKG_NAME)
18
19 include $(TOPDIR)/mk/package.mk
20
21 $(eval $(call PKG_template,NTPCLIENT,ntpclient,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
22
23 $(WRKBUILD)/.configured:
24 touch $@
25
26 $(WRKBUILD)/.built:
27 $(MAKE) -C $(WRKBUILD) \
28 CC=$(TARGET_CC) CFLAGS="$(TARGET_CFLAGS)"
29 touch $@
30
31 $(IPKG_NTPCLIENT):
32 install -d -m0755 $(IDIR_NTPCLIENT)/etc/init.d
33 install -m0755 ./files/ntpclient.init $(IDIR_NTPCLIENT)/etc/init.d/S52ntpclient
34 install -d -m0755 $(IDIR_NTPCLIENT)/usr/sbin
35 install -m0755 $(WRKBUILD)/ntpclient $(IDIR_NTPCLIENT)/usr/sbin/
36 $(RSTRIP) $(IDIR_NTPCLIENT)
37 $(IPKG_BUILD) $(IDIR_NTPCLIENT) $(PACKAGE_DIR)

root@freewrt.org:443
ViewVC Help
Powered by ViewVC 1.1.20