Annotation of /branches/R11-unstable/core/autoconf25/autoconf25-2.59-r11.smage2
Parent Directory | Revision Log
Revision 9959 -
(hide annotations)
(download)
Sun Jan 15 01:33:54 2012 UTC (12 years, 8 months ago) by niro
Original Path: trunk/core/autoconf25/autoconf25-2.59-r11.smage2
File size: 1003 byte(s)
Sun Jan 15 01:33:54 2012 UTC (12 years, 8 months ago) by niro
Original Path: trunk/core/autoconf25/autoconf25-2.59-r11.smage2
File size: 1003 byte(s)
-imported from magellan-next
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 | 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 | } |