Magellan Linux

Contents of /smage/trunk/core/autoconf26/autoconf26-2.68-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2867 - (show annotations) (download)
Tue Sep 6 11:39:29 2011 UTC (12 years, 8 months ago) by niro
File size: 1050 byte(s)
auto added: ver bump to 2.68-r2
1 # $Id$
2
3 PNAME="autoconf26"
4 PVER="2.68"
5 PBUILD="r2"
6
7 PCATEGORIE="sys-dev"
8
9 DESCRIPTION="Used to generate configure scripts."
10 HOMEPAGE="http://www.gnu.org/software/autoconf/autoconf.html"
11
12 DEPEND=">= sys-apps/texinfo-4.3
13 >= sys-dev/m4-1.4
14 >= dev-lang/perl-5"
15
16 SRCFILE="autoconf-${PVER}.tar.bz2"
17 SRCDIR="${BUILDDIR}/autoconf-${PVER}"
18
19 sminclude alx
20
21 SRC_URI=(
22 ftp://ftp.gnu.org/pub/gnu/autoconf/${SRCFILE}
23 mirror://autoconf/${SRCFILE}
24 )
25
26 UP2DATE="updatecmd \"http://ftp.gnu.org/gnu/${PNAME/[0-9]*/}?C=M;O=A\" | grep ${PVER:0:3} | lasttarball"
27
28 src_prepare()
29 {
30 munpack ${SRCFILE} || die
31 }
32
33 src_compile()
34 {
35 cd ${SRCDIR}
36
37 mconfigure --program-suffix="-${PVER}" || die
38
39 # manpages should not be versionized
40 sed -i "/^program_transform_name/s:-${PVER}::" man/Makefile || die
41
42 # doesn't like more jobs than 1
43 mmake -j1 || die
44 }
45
46 src_install()
47 {
48 cd ${SRCDIR}
49 make DESTDIR=${BINDIR} install || die
50
51 # fix info location
52 mv ${BINDIR}/usr/share/info/autoconf{,-${PVER}}.info || die
53 minstalldocs AUTHORS ChangeLog* COPYING NEWS README TODO || die
54 }