Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2792 - (hide annotations) (download)
Mon Aug 29 20:03:18 2011 UTC (12 years, 9 months ago) by niro
File size: 1058 byte(s)
-merged branch alx-0_6_0 into trunk
1 niro 1758 # $Id$
2    
3     PNAME="autoconf25"
4     PVER="2.59"
5     PBUILD="r1"
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     REMOVE_DEPRECATED_MAGE_TARGETS=1
20     sminclude alx
21    
22     SRC_URI=(
23     ftp://ftp.gnu.org/pub/gnu/autoconf/${SRCFILE}
24     mirror://autoconf/${SRCFILE}
25     mirror://autoconf/autoconf-2.59-more-quotes.patch
26     )
27    
28     src_prepare()
29     {
30     munpack ${SRCFILE} || die
31     cd ${SRCDIR}
32    
33     mpatch -Np0 autoconf-2.59-more-quotes.patch || die
34     }
35    
36     src_compile()
37     {
38     cd ${SRCDIR}
39    
40     mconfigure --program-suffix="-${PVER}" || die
41    
42     # manpages should not be versionized
43     sed -i "/^program_transform_name/s:-${PVER}::" man/Makefile || die
44    
45     mmake || die
46     }
47    
48     src_install()
49     {
50     cd ${SRCDIR}
51     make DESTDIR=${BINDIR} install || die
52    
53     # fix info location
54     mv ${BINDIR}/usr/share/info/autoconf{,-${PVER}}.info || die
55     minstalldocs AUTHORS ChangeLog* COPYING NEWS README TODO || die
56     }