summaryrefslogtreecommitdiff
path: root/package/rdate/Makefile
blob: 1dd8d02222de3d1d31d9b1582b9ef80a15c98f4f (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
# 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:=		rdate
PKG_VERSION:=		20070817
PKG_RELEASE:=		3
PKG_MD5SUM:=		9a6489d7de4311678a3fab001bb503df
PKG_DESCR:=		A small rdate and NTP client
PKG_SECTION:=		ntp
PKG_SITES:=		${MASTER_SITE_MIRBSD:distfiles/=dist/mir/rdate/}

WRKDIST=		${WRKDIR}/${PKG_NAME}

include ${TOPDIR}/mk/package.mk

$(eval $(call PKG_template,RDATE,rdate,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))

CONFIG_STYLE:=          manual
TARGET_CPPFLAGS+=	-D_GNU_SOURCE
MAKE_FILE=		GNUmakefile

rdate-install:
	${INSTALL_DIR} ${IDIR_RDATE}/usr/sbin
	${INSTALL_BIN} ${WRKINST}/usr/sbin/rdate ${IDIR_RDATE}/usr/sbin

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