Contents of /smage/trunk/core/autoconf26/autoconf26-2.68-r1.smage2
Parent Directory | Revision Log
Revision 2792 -
(show annotations)
(download)
Mon Aug 29 20:03:18 2011 UTC (12 years, 9 months ago) by niro
File size: 977 byte(s)
Mon Aug 29 20:03:18 2011 UTC (12 years, 9 months ago) by niro
File size: 977 byte(s)
-merged branch alx-0_6_0 into trunk
1 | # $Id$ |
2 | |
3 | PNAME="autoconf26" |
4 | PVER="2.68" |
5 | PBUILD="r1" |
6 | |
7 | PCATEGORIE="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 | REMOVE_DEPRECATED_MAGE_TARGETS=1 |
20 | sminclude alx |
21 | |
22 | SRC_URI=( |
23 | ftp://ftp.gnu.org/pub/gnu/autoconf/${SRCFILE} |
24 | mirror://autoconf/${SRCFILE} |
25 | ) |
26 | |
27 | src_prepare() |
28 | { |
29 | munpack ${SRCFILE} || die |
30 | } |
31 | |
32 | src_compile() |
33 | { |
34 | cd ${SRCDIR} |
35 | |
36 | mconfigure --program-suffix="-${PVER}" || die |
37 | |
38 | # manpages should not be versionized |
39 | sed -i "/^program_transform_name/s:-${PVER}::" man/Makefile || die |
40 | |
41 | # doesn't like more jobs than 1 |
42 | mmake -j1 || die |
43 | } |
44 | |
45 | src_install() |
46 | { |
47 | cd ${SRCDIR} |
48 | make DESTDIR=${BINDIR} install || die |
49 | |
50 | # fix info location |
51 | mv ${BINDIR}/usr/share/info/autoconf{,-${PVER}}.info || die |
52 | minstalldocs AUTHORS ChangeLog* COPYING NEWS README TODO || die |
53 | } |