Magellan Linux

Annotation of /smage/trunk/core/autoconf25/autoconf25-2.59-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2866 - (hide annotations) (download)
Tue Sep 6 11:38:53 2011 UTC (12 years, 9 months ago) by niro
File size: 1131 byte(s)
auto added: ver bump to 2.59-r2
1 niro 2866 # $Id$
2    
3     PNAME="autoconf25"
4     PVER="2.59"
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     mirror://autoconf/autoconf-2.59-more-quotes.patch
25     )
26    
27     UP2DATE="updatecmd \"http://ftp.gnu.org/gnu/${PNAME/[0-9]*/}?C=M;O=A\" | grep ${PVER:0:3} | lasttarball"
28    
29     src_prepare()
30     {
31     munpack ${SRCFILE} || die
32     cd ${SRCDIR}
33    
34     mpatch -Np0 autoconf-2.59-more-quotes.patch || die
35     }
36    
37     src_compile()
38     {
39     cd ${SRCDIR}
40    
41     mconfigure --program-suffix="-${PVER}" || die
42    
43     # manpages should not be versionized
44     sed -i "/^program_transform_name/s:-${PVER}::" man/Makefile || die
45    
46     mmake || die
47     }
48    
49     src_install()
50     {
51     cd ${SRCDIR}
52     make DESTDIR=${BINDIR} install || die
53    
54     # fix info location
55     mv ${BINDIR}/usr/share/info/autoconf{,-${PVER}}.info || die
56     minstalldocs AUTHORS ChangeLog* COPYING NEWS README TODO || die
57     }