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