Annotation of /trunk/core/autoconf25/autoconf25-2.59-r11.smage2
Parent Directory | Revision Log
Revision 5810 -
(hide annotations)
(download)
Mon Aug 16 19:10:07 2010 UTC (14 years, 1 month ago) by niro
Original Path: branches/magellan-next/core/autoconf25/autoconf25-2.59-r11.smage2
File size: 1026 byte(s)
Mon Aug 16 19:10:07 2010 UTC (14 years, 1 month ago) by niro
Original Path: branches/magellan-next/core/autoconf25/autoconf25-2.59-r11.smage2
File size: 1026 byte(s)
auto added: ver bump to 2.59-r11
1 | niro | 5810 | # $Id$ |
2 | |||
3 | PNAME="autoconf25" | ||
4 | PVER="2.59" | ||
5 | PBUILD="r11" | ||
6 | |||
7 | PCATEGORIE="sys-dev" | ||
8 | STATE="unstable" | ||
9 | |||
10 | DESCRIPTION="Used to generate configure scripts." | ||
11 | HOMEPAGE="http://www.gnu.org/software/autoconf/autoconf.html" | ||
12 | |||
13 | DEPEND=">= sys-apps/texinfo-4.3 | ||
14 | >= sys-dev/m4-1.4 | ||
15 | >= dev-lang/perl-5" | ||
16 | |||
17 | SRCFILE="autoconf-${PVER}.tar.bz2" | ||
18 | SRCDIR="${BUILDDIR}/autoconf-${PVER}" | ||
19 | |||
20 | SRC_URI=( | ||
21 | gnu://autoconf/${SRCFILE} | ||
22 | mirror://autoconf/${SRCFILE} | ||
23 | mirror://autoconf/autoconf-2.59-more-quotes.patch | ||
24 | ) | ||
25 | |||
26 | UP2DATE="updatecmd \"http://ftp.gnu.org/gnu/${PNAME/[0-9]*/}?C=M;O=A\" | grep ${PVER:0:3} | lasttarball" | ||
27 | |||
28 | src_prepare() | ||
29 | { | ||
30 | munpack ${SRCFILE} || die | ||
31 | cd ${SRCDIR} | ||
32 | |||
33 | mpatch 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 | minstalldocs AUTHORS ChangeLog* COPYING NEWS README TODO || die | ||
53 | } |