Magellan Linux

Contents of /smage/branches/alx07x-stable/core/autoconf25/autoconf25-2.59-r7.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 14911 - (show annotations) (download)
Thu Aug 6 12:49:21 2020 UTC (3 years, 8 months ago) by niro
File size: 1002 byte(s)
-release branches/alx07x-stable
1 # $Id$
2
3 PNAME="autoconf25"
4 PVER="2.59"
5 PBUILD="r7"
6
7 PCAT="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 SRC_URI=(
20 gnu://autoconf/${SRCFILE}
21 mirror://autoconf/${SRCFILE}
22 mirror://autoconf/autoconf-2.59-more-quotes.patch
23 )
24
25 UP2DATE="updatecmd \"http://ftp.gnu.org/gnu/${PNAME/[0-9]*/}?C=M;O=A\" | grep ${PVER:0:3} | lasttarball"
26
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 }