summaryrefslogtreecommitdiff
path: root/package/ntpclient/Makefile
blob: baa7d48f985c01aeaf72c413a0a9e2f3a0e4121d (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
31
32
33
# 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:=		2
PKG_MD5SUM:=		cb98711f11769cdd22fc592844cef414
PKG_DESCR:=		NTP client for setting system time from NTP servers
PKG_SECTION:=		ntp
PKG_DEPENDS:=		libpthread
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,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))

CONFIG_STYLE:=		manual
INSTALL_STYLE:=		manual

MAKE_FLAGS+=		CC='${TARGET_CC}' CFLAGS='${TARGET_CFLAGS}'
ALL_TARGET:=

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

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