Magellan Linux

Contents of /trunk/extras/rcs/rcs-5.7-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2 - (show annotations) (download)
Fri Oct 10 13:29:42 2008 UTC (15 years, 7 months ago) by niro
File size: 1069 byte(s)
import repo
1 # $Header: /magellan-cvs/smage/rcs/rcs-5.7-r2.smage2,v 1.1 2008/04/20 23:14:35 niro Exp $
2
3 PNAME="rcs"
4 PVER="5.7"
5 PBUILD="r2"
6
7 PCATEGORIE="app-text"
8 STATE="unstable"
9
10 DESCRIPTION="The Revision Control System (RCS) manages multiple revisions of files."
11 HOMEPAGE="http://www.gnu.org/software/rcs/"
12
13 DEPEND=">= sys-apps/diffutils-2.8.7"
14
15 SRCFILE="${PNAME}-${PVER}.tar.gz"
16 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
17
18 SRC_URI=(
19 gnu://${PNAME}/${SRCFILE}
20 mirror://${PNAME}/${SRCFILE}
21 mirror://${PNAME}/${PNAME}-${PVER}-debian-18.patch
22 )
23
24 src_prepare()
25 {
26 munpack ${SRCFILE} || die
27 cd ${SRCDIR}
28
29 # several fixes from debian
30 mpatch ${PNAME}-${PVER}-debian-18.patch || die
31 }
32
33 src_compile()
34 {
35 cd ${SRCDIR}
36
37 # not mconfigure compat!
38 ./configure --host=${CHOST} --prefix=/usr --with-diffutils || die
39 mmake
40 }
41
42 src_install()
43 {
44 cd ${SRCDIR}
45
46 make prefix=${BINDIR}/usr \
47 man1dir=${BINDIR}/usr/share/man/man1 \
48 man3dir=${BINDIR}/usr/share/man/man3 \
49 man5dir=${BINDIR}/usr/share/man/man5 \
50 install || die
51
52 minstalldocs ChangeLog COPYING CREDITS NEWS README REFS || die
53 }

Properties

Name Value
svn:keywords Id