Magellan Linux

Annotation of /branches/R11-unstable/core/autoconf25/autoconf25-2.59-r11.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 32200 - (hide annotations) (download)
Mon Apr 29 11:54:05 2019 UTC (5 years ago) by niro
File size: 994 byte(s)
-release branches/R11-unstable
1 niro 5810 # $Id$
2    
3     PNAME="autoconf25"
4     PVER="2.59"
5     PBUILD="r11"
6    
7 niro 9959 PCAT="sys-dev"
8 niro 5810
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     SRC_URI=(
20     gnu://autoconf/${SRCFILE}
21     mirror://autoconf/${SRCFILE}
22     mirror://autoconf/autoconf-2.59-more-quotes.patch
23     )
24    
25 niro 29703 UP2DATE="updatecmd http://ftp.gnu.org/gnu/${PNAME/[0-9]*/} | grep ${PVER:0:3} | highesttarball"
26 niro 5810
27     src_prepare()
28     {
29     munpack ${SRCFILE} || die
30     cd ${SRCDIR}
31    
32     mpatch autoconf-2.59-more-quotes.patch || die
33     }
34    
35     src_compile()
36     {
37     cd ${SRCDIR}
38    
39     mconfigure --program-suffix="-${PVER}" || die
40    
41     # manpages should not be versionized
42     sed -i "/^program_transform_name/s:-${PVER}::" man/Makefile || die
43    
44     mmake || die
45     }
46    
47     src_install()
48     {
49     cd ${SRCDIR}
50     make DESTDIR=${BINDIR} install || die
51     minstalldocs AUTHORS ChangeLog* COPYING NEWS README TODO || die
52     }