Contents of /branches/magellan-next/core/rdate/rdate-1.4-r8.smage2
Parent Directory | Revision Log
Revision 6410 -
(show annotations)
(download)
Mon Aug 23 11:37:34 2010 UTC (14 years, 1 month ago) by niro
File size: 873 byte(s)
Mon Aug 23 11:37:34 2010 UTC (14 years, 1 month ago) by niro
File size: 873 byte(s)
auto added: ver bump to 1.4-r8
1 | # $Id: rdate-1.4-r7.smage2 3153 2009-10-13 22:42:22Z niro $ |
2 | |
3 | PNAME="rdate" |
4 | PVER="1.4" |
5 | PBUILD="r8" |
6 | |
7 | PCATEGORIE="net-misc" |
8 | STATE="unstable" |
9 | |
10 | DESCRIPTION="The rdate utility retrieves the date and time from another machine on your network." |
11 | HOMEPAGE="http://freshmeat.net/projects/rdate/" |
12 | |
13 | DEPEND=">= virtual/glibc" |
14 | |
15 | SRCFILE="${PNAME}-${PVER}.tar.gz" |
16 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
17 | |
18 | sminclude mtools |
19 | |
20 | RC_CVS_REV=1.3 |
21 | |
22 | SRC_URI=( |
23 | mirror://${PNAME}/${SRCFILE} |
24 | mirror://${PNAME}/rdate.rc-${RC_CVS_REV} |
25 | mirror://${PNAME}/rdate.confd |
26 | ) |
27 | |
28 | # fake |
29 | UP2DATE="echo ${PVER}" |
30 | |
31 | src_prepare() |
32 | { |
33 | munpack ${SRCFILE} || die |
34 | } |
35 | |
36 | src_compile() |
37 | { |
38 | cd ${SRCDIR} |
39 | mmake RCFLAGS="${CFLAGS}" || die |
40 | } |
41 | |
42 | src_install() |
43 | { |
44 | cd ${SRCDIR} |
45 | mmake prefix=${BINDIR}/usr install || die |
46 | |
47 | minstallrc rdate.rc-${RC_CVS_REV} rdate || die |
48 | minstallconf rdate.confd rdate || die |
49 | |
50 | minstalldocs COPYING || die |
51 | } |