Annotation of /smage/trunk/core/automake110/automake110-1.10.3-r1.smage2
Parent Directory | Revision Log
Revision 1767 -
(hide annotations)
(download)
Mon Apr 11 20:56:23 2011 UTC (13 years, 1 month ago) by niro
Original Path: smage/branches/alx-0_6_0/core/automake110/automake110-1.10.3-r1.smage2
File size: 1360 byte(s)
Mon Apr 11 20:56:23 2011 UTC (13 years, 1 month ago) by niro
Original Path: smage/branches/alx-0_6_0/core/automake110/automake110-1.10.3-r1.smage2
File size: 1360 byte(s)
auto added: ver bump to 1.10.3-r1
1 | niro | 1767 | # $Id$ |
2 | |||
3 | PNAME="automake110" | ||
4 | PVER="1.10.3" | ||
5 | PBUILD="r1" | ||
6 | |||
7 | PCATEGORIE="sys-dev" | ||
8 | STATE="stable" | ||
9 | |||
10 | DESCRIPTION="Used to generate Makefile.in from Makefile.am." | ||
11 | HOMEPAGE="http://www.gnu.org/software/automake/automake.html" | ||
12 | |||
13 | DEPEND=">= dev-lang/perl-5 | ||
14 | >= sys-dev/autoconf-5" | ||
15 | |||
16 | SDEPEND=">= sys-apps/sed-4" | ||
17 | |||
18 | SRCFILE="automake-${PVER}.tar.bz2" | ||
19 | SRCDIR="${BUILDDIR}/automake-${PVER}" | ||
20 | |||
21 | REMOVE_DEPRECATED_MAGE_TARGETS=1 | ||
22 | sminclude alx | ||
23 | |||
24 | SRC_URI=( | ||
25 | ftp://ftp.gnu.org/pub/gnu/automake/${SRCFILE} | ||
26 | mirror://automake/${SRCFILE} | ||
27 | mirror://automake/automake-1.10-infopage-namechange.patch | ||
28 | ) | ||
29 | |||
30 | src_prepare() | ||
31 | { | ||
32 | munpack ${SRCFILE} || die | ||
33 | cd ${SRCDIR} | ||
34 | |||
35 | mpatch -Np1 automake-1.10-infopage-namechange.patch || die | ||
36 | |||
37 | sed -i \ | ||
38 | -e "/^@setfilename/s|automake|automake${PVER:0:3}|" \ | ||
39 | -e "s|automake: (automake)|automake v${PVER:0:3}: (automake${PVER:0:3})|" \ | ||
40 | -e "s|aclocal: (automake)|aclocal v${PVER:0:3}: (automake${PVER:0:3})|" \ | ||
41 | doc/automake.texi || die | ||
42 | } | ||
43 | |||
44 | src_compile() | ||
45 | { | ||
46 | cd ${SRCDIR} | ||
47 | |||
48 | # stupid configure script goes and run autoconf in a subdir, | ||
49 | # so 'ac-wrapper.pl' do not detect that it should use | ||
50 | # autoconf-2.5x | ||
51 | export WANT_AUTOCONF=2.6 | ||
52 | |||
53 | mconfigure || die | ||
54 | mmake || die | ||
55 | } | ||
56 | |||
57 | src_install() | ||
58 | { | ||
59 | cd ${SRCDIR} | ||
60 | |||
61 | make DESTDIR=${BINDIR} install || die | ||
62 | rm -f ${BINDIR}/usr/bin/{aclocal,automake} || die | ||
63 | |||
64 | minstalldocs COPYING NEWS README THANKS TODO AUTHORS ChangeLog || die | ||
65 | } |