Magellan Linux

Annotation of /branches/magellan-next/core/rdate/rdate-1.4-r9.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 7656 - (hide annotations) (download)
Sun May 29 18:46:18 2011 UTC (12 years, 11 months ago) by niro
File size: 820 byte(s)
auto added: ver bump to 1.4-r9
1 niro 7656 # $Id$
2    
3     PNAME="rdate"
4     PVER="1.4"
5     PBUILD="r9"
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     }