Contents of /trunk/core/autoconf25/autoconf25-2.59-r11.smage2
Parent Directory | Revision Log
Revision 29703 -
(show annotations)
(download)
Tue Oct 10 07:11:25 2017 UTC (6 years, 11 months ago) by niro
File size: 994 byte(s)
Tue Oct 10 07:11:25 2017 UTC (6 years, 11 months ago) by niro
File size: 994 byte(s)
-updated UP2DATE uri
1 | # $Id$ |
2 | |
3 | PNAME="autoconf25" |
4 | PVER="2.59" |
5 | PBUILD="r11" |
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]*/} | grep ${PVER:0:3} | highesttarball" |
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 | } |