Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 5118 - (show annotations) (download)
Sun Mar 7 19:08:40 2010 UTC (14 years, 2 months ago) by niro
File size: 1023 byte(s)
auto added: ver bump to 5.7-r3
1 # $Id$
2
3 PNAME="rcs"
4 PVER="5.7"
5 PBUILD="r3"
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-25.patch
22 )
23
24 UP2DATE="updatecmd_gnu ${PNAME} gz"
25
26 src_prepare()
27 {
28 munpack ${SRCFILE} || die
29 cd ${SRCDIR}
30
31 # several fixes from debian
32 mpatch ${PNAME}-${PVER}-debian-25.patch || die
33 }
34
35 src_compile()
36 {
37 cd ${SRCDIR}
38
39 # not mconfigure compat!
40 ./configure --host=${CHOST} --prefix=/usr --with-diffutils || die
41 mmake
42 }
43
44 src_install()
45 {
46 cd ${SRCDIR}
47
48 make prefix=${BINDIR}/usr \
49 man1dir=${BINDIR}/usr/share/man/man1 \
50 man3dir=${BINDIR}/usr/share/man/man3 \
51 man5dir=${BINDIR}/usr/share/man/man5 \
52 install || die
53
54 minstalldocs ChangeLog COPYING CREDITS NEWS README REFS || die
55 }

Properties

Name Value
svn:keywords Id