Contents of /branches/magellan-0_10_0/core/autoconf21/autoconf21-2.13-r3.smage2
Parent Directory | Revision Log
Revision 3000 -
(show annotations)
(download)
Mon Oct 5 18:47:41 2009 UTC (14 years, 11 months ago) by niro
File size: 1657 byte(s)
Mon Oct 5 18:47:41 2009 UTC (14 years, 11 months ago) by niro
File size: 1657 byte(s)
created branch 'magellan-0_10_0'
1 | # $Header: /magellan-cvs/smage/autoconf21/autoconf21-2.13-r2.smage2,v 1.1 2008/02/09 13:53:49 niro Exp $ |
2 | |
3 | PNAME="autoconf21" |
4 | PVER="2.13" |
5 | PBUILD="r3" |
6 | |
7 | PCATEGORIE="sys-dev" |
8 | STATE="unstable" |
9 | |
10 | DESCRIPTION="Used to generate configure scripts." |
11 | HOMEPAGE="http://www.gnu.org/software/autoconf/autoconf.html" |
12 | |
13 | DEPEND=">= sys-apps/texinfo-4.3 |
14 | >= sys-dev/m4-1.4 |
15 | >= dev-lang/perl-5" |
16 | |
17 | SRCFILE="autoconf-${PVER}.tar.gz" |
18 | SRCDIR="${BUILDDIR}/autoconf-${PVER}" |
19 | |
20 | SRC_URI=( |
21 | gnu://autoconf/${SRCFILE} |
22 | mirror://autoconf/${SRCFILE} |
23 | mirror://autoconf/autoconf-2.13-configure-gentoo.diff |
24 | mirror://autoconf/autoconf-2.13-configure.in-gentoo.diff |
25 | mirror://autoconf/autoconf-2.13-destdir.patch |
26 | ) |
27 | |
28 | UP2DATE="updatecmd \"http://ftp.gnu.org/gnu/${PNAME/[0-9]*/}?C=M;O=A\" | grep ${PVER:0:3} | lasttarball gz" |
29 | |
30 | src_prepare() |
31 | { |
32 | munpack ${SRCFILE} || die |
33 | cd ${SRCDIR} |
34 | |
35 | mpatch autoconf-2.13-configure-gentoo.diff || die |
36 | mpatch autoconf-2.13-configure.in-gentoo.diff || die |
37 | mpatch autoconf-2.13-destdir.patch || die |
38 | |
39 | # make sure configure is newer than configure.in |
40 | touch configure || die |
41 | |
42 | # this gets installed with binutils |
43 | rm -f standards.{texi,info} || die |
44 | |
45 | sed -i 's|\* Autoconf:|\* Autoconf v2.1:|' autoconf.texi || die |
46 | sed -i '/START-INFO-DIR-ENTRY/ i INFO-DIR-SECTION GNU programming tools' autoconf.texi || die |
47 | } |
48 | |
49 | src_compile() |
50 | { |
51 | cd ${SRCDIR} |
52 | |
53 | mconfigure --exec-prefix=/usr --bindir=/usr/bin --program-suffix="-${PVER}" || die |
54 | mmake || die |
55 | } |
56 | |
57 | src_install() |
58 | { |
59 | cd ${SRCDIR} |
60 | make DESTDIR=${BINDIR} install || die |
61 | |
62 | # fix info location |
63 | mv ${BINDIR}/usr/share/info/autoconf{,-${PVER}}.info || die |
64 | minstalldocs AUTHORS ChangeLog* COPYING NEWS README TODO || die |
65 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |