Contents of /smage/trunk/extras/automake16/automake16-1.6.3-r2.smage2
Parent Directory | Revision Log
Revision 3 -
(show annotations)
(download)
Sun Jan 11 00:48:53 2009 UTC (15 years, 3 months ago) by niro
File size: 1319 byte(s)
Sun Jan 11 00:48:53 2009 UTC (15 years, 3 months ago) by niro
File size: 1319 byte(s)
-import alx-0.9.0
1 | # $Header: /alx-cvs/smage-eglibc/automake16/automake16-1.6.3-r2.smage2,v 1.1 2008/02/27 10:14:42 niro Exp $ |
2 | |
3 | PNAME="automake16" |
4 | PVER="1.6.3" |
5 | PBUILD="r2" |
6 | |
7 | PCATEGORIE="sys-dev" |
8 | STATE="unstable" |
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-3" |
15 | |
16 | SDEPEND=">= sys-apps/sed-4" |
17 | |
18 | SRCFILE="automake-${PVER}.tar.bz2" |
19 | SRCDIR="${BUILDDIR}/automake-${PVER}" |
20 | |
21 | sminclude mtools alx |
22 | |
23 | SRC_URI=( |
24 | 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 | minstallinfo *.info || die |
61 | minstalldocs COPYING NEWS README THANKS TODO AUTHORS ChangeLog || die |
62 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |