Magellan Linux

Contents of /smage/trunk/extras/automake19/automake19-1.9.6-r5.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3 - (show annotations) (download)
Sun Jan 11 00:48:53 2009 UTC (15 years, 3 months ago) by niro
File size: 1448 byte(s)
-import alx-0.9.0
1 # $Header: /alx-cvs/smage-eglibc/automake19/automake19-1.9.6-r5.smage2,v 1.1 2008/02/27 10:15:08 niro Exp $
2
3 PNAME="automake19"
4 PVER="1.9.6"
5 PBUILD="r5"
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 mirror://automake/automake-${PVER}-infopage-namechange.patch
27 )
28
29 src_prepare()
30 {
31 munpack ${SRCFILE} || die
32 cd ${SRCDIR}
33
34 mpatch automake-${PVER}-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.5
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 minstallinfo doc/*.info || die
64 minstalldocs COPYING NEWS README THANKS TODO AUTHORS ChangeLog || die
65 }

Properties

Name Value
svn:keywords Id