Magellan Linux

Contents of /trunk/core/rdate/rdate-1.4-r6.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 394 - (show annotations) (download)
Wed Dec 24 10:01:10 2008 UTC (15 years, 5 months ago) by niro
File size: 876 byte(s)
-rev bump to 1.4-r6; fixed rc script
1 # $Header: /magellan-cvs/smage/rdate/rdate-1.4-r5.smage2,v 1.1 2008/03/23 11:12:43 niro Exp $
2
3 PNAME="rdate"
4 PVER="1.4"
5 PBUILD="r6"
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 src_prepare()
29 {
30 munpack ${SRCFILE} || die
31 }
32
33 src_compile()
34 {
35 cd ${SRCDIR}
36 mmake RCFLAGS="${CFLAGS}" || die
37 }
38
39 src_install()
40 {
41 cd ${SRCDIR}
42 mmake prefix=${BINDIR}/usr install || die
43
44 minstallrc rdate.rc-${RC_CVS_REV} rdate || die
45 minstallconf rdate.confd rdate || die
46
47 minstalldocs COPYING || die
48 }

Properties

Name Value
svn:keywords Id