summaryrefslogtreecommitdiff
path: root/package/ntpclient/Makefile
blob: 12187c7b97ea6de218d3333058bd0c53198d12c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.

include ${TOPDIR}/rules.mk

PKG_NAME:=		ntpclient
PKG_VERSION:=		2007_365
PKG_RELEASE:=		1
PKG_MD5SUM:=		cb98711f11769cdd22fc592844cef414
PKG_DESCR:=		NTP client for setting system time from NTP servers
PKG_SECTION:=		net
PKG_URL:=		http://doolittle.icarus.com/ntpclient
PKG_SITES:=		http://doolittle.icarus.com/ntpclient/

DISTFILES:=		${PKG_NAME}_${PKG_VERSION}.tar.gz
WRKDIST=		${WRKDIR}/${PKG_NAME}-2007

include ${TOPDIR}/mk/package.mk

$(eval $(call PKG_template,NTPCLIENT,ntpclient,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))

BUILD_STYLE:=		auto
MAKE_FLAGS+=		CC='${TARGET_CC}' CFLAGS='${TCFLAGS}'
ALL_TARGET:=

do-install:
	${INSTALL_DIR} ${IDIR_NTPCLIENT}/usr/sbin
	${INSTALL_BIN} ${WRKBUILD}/ntpclient ${IDIR_NTPCLIENT}/usr/sbin/

include ${TOPDIR}/mk/pkg-bottom.mk