Contents of /smage/trunk/core/autoconf26/autoconf26-2.67-r2.smage2
Parent Directory | Revision Log
Revision 691 -
(show annotations)
(download)
Thu Oct 21 14:42:38 2010 UTC (13 years, 11 months ago) by niro
File size: 1279 byte(s)
Thu Oct 21 14:42:38 2010 UTC (13 years, 11 months ago) by niro
File size: 1279 byte(s)
auto added: ver bump to 2.67-r2
1 | # $Id$ |
2 | |
3 | PNAME="autoconf26" |
4 | PVER="2.67" |
5 | PBUILD="r2" |
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.67-acinit-literal-2.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 | # upstream patch to fix "AC_INIT: not a literal:" warnings if |
34 | # bug urls contains a '?' character |
35 | # see: http://git.savannah.gnu.org/cgit/autoconf.git/commit/?id=64000cf1f891b8c64b9ad12f7b0f06075ba403b7 |
36 | mpatch autoconf-2.67-acinit-literal-2.patch || die |
37 | } |
38 | |
39 | src_compile() |
40 | { |
41 | cd ${SRCDIR} |
42 | |
43 | mconfigure --program-suffix="-${PVER}" || die |
44 | |
45 | # manpages should not be versionized |
46 | sed -i "/^program_transform_name/s:-${PVER}::" man/Makefile || die |
47 | |
48 | # doesn't like more jobs than 1 |
49 | mmake -j1 || die |
50 | } |
51 | |
52 | src_install() |
53 | { |
54 | cd ${SRCDIR} |
55 | mmake DESTDIR=${BINDIR} install || die |
56 | minstalldocs AUTHORS ChangeLog* COPYING NEWS README TODO || die |
57 | } |