Magellan Linux

Annotation of /smage/trunk/core/autoconf21/autoconf21-2.13-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3 - (hide annotations) (download)
Sun Jan 11 00:48:53 2009 UTC (15 years, 4 months ago) by niro
Original Path: smage/trunk/extras/autoconf21/autoconf21-2.13-r2.smage2
File size: 1565 byte(s)
-import alx-0.9.0
1 niro 3 # $Header: /alx-cvs/smage-eglibc/autoconf21/autoconf21-2.13-r2.smage2,v 1.2 2008/03/04 13:11:35 niro Exp $
2    
3     PNAME="autoconf21"
4     PVER="2.13"
5     PBUILD="r2"
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     sminclude alx
21    
22     SRC_URI=(
23     gnu://autoconf/${SRCFILE}
24     mirror://autoconf/${SRCFILE}
25     mirror://autoconf/autoconf-2.13-configure-gentoo.diff
26     mirror://autoconf/autoconf-2.13-configure.in-gentoo.diff
27     mirror://autoconf/autoconf-2.13-destdir.patch
28     )
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