Magellan Linux

Contents of /branches/magellan-next/core/rman/rman-3.2-r6.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 6716 - (show annotations) (download)
Wed Sep 22 09:34:47 2010 UTC (13 years, 8 months ago) by niro
File size: 851 byte(s)
auto added: ver bump to 3.2-r6
1 # $Id: rman-3.2-r5.smage2 3946 2009-11-14 12:59:29Z niro $
2
3 PNAME="rman"
4 PVER="3.2"
5 PBUILD="r6"
6
7 PCATEGORIE="app-text"
8 STATE="unstable"
9
10 DESCRIPTION="PolyglotMan, a manual page translator formerly known as RosettaMan."
11 HOMEPAGE="http://polyglotman.sourceforge.net/"
12
13 DEPEND=""
14
15 SRCFILE="${PNAME}-${PVER}.tar.gz"
16 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
17
18 sminclude mtools
19
20 SRC_URI=(
21 sourceforge://polyglotman/${SRCFILE}
22 mirror://${PNAME}/${SRCFILE}
23 )
24
25 UP2DATE="updatecmd_sourceforge polyglotman polyglotman - rman"
26
27 src_prepare()
28 {
29 munpack ${SRCFILE} || die
30 cd ${SRCDIR}
31
32 # fixup pathes in the Makefile
33 sed -i -e "s:^\(BINDIR =\).*:\1 /usr/bin:" \
34 -e "s:^\(MANDIR =\).*:\1 /usr/share/man/man1:" Makefile || die
35 }
36
37 src_compile()
38 {
39 cd ${SRCDIR}
40 mmake || die
41 }
42
43 src_install()
44 {
45 cd ${SRCDIR}
46
47 minstallexec rman || die
48 minstallman rman.1 || die
49 }