Contents of /smage/branches/alx-0_6_0/core/automake16/automake16-1.6.3-r1.smage2
Parent Directory | Revision Log
Revision 2506 -
(show annotations)
(download)
Thu Jun 30 13:55:15 2011 UTC (13 years, 2 months ago) by niro
File size: 1216 byte(s)
Thu Jun 30 13:55:15 2011 UTC (13 years, 2 months ago) by niro
File size: 1216 byte(s)
-removed STATE variable from smage files, use global distribution file for package/distribution states
1 | # $Id$ |
2 | |
3 | PNAME="automake16" |
4 | PVER="1.6.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 | ) |
27 | |
28 | src_prepare() |
29 | { |
30 | munpack ${SRCFILE} || die |
31 | cd ${SRCDIR} |
32 | |
33 | sed -i \ |
34 | -e "/^@setfilename/s|automake|automake${PVER:0:3}|" \ |
35 | -e "s|automake: (automake)|automake v${PVER:0:3}: (automake${PVER:0:3})|" \ |
36 | -e "s|aclocal: (automake)|aclocal v${PVER:0:3}: (automake${PVER:0:3})|" \ |
37 | automake.texi || die |
38 | } |
39 | |
40 | src_compile() |
41 | { |
42 | cd ${SRCDIR} |
43 | |
44 | # stupid configure script goes and run autoconf in a subdir, |
45 | # so 'ac-wrapper.pl' do not detect that it should use |
46 | # autoconf-2.5x |
47 | export WANT_AUTOCONF=2.5 |
48 | |
49 | mconfigure || die |
50 | mmake || die |
51 | } |
52 | |
53 | src_install() |
54 | { |
55 | cd ${SRCDIR} |
56 | |
57 | make DESTDIR=${BINDIR} install || die |
58 | rm -f ${BINDIR}/usr/bin/{aclocal,automake} || die |
59 | |
60 | minstalldocs COPYING NEWS README THANKS TODO AUTHORS ChangeLog || die |
61 | } |