Magellan Linux

Contents of /smage/trunk/core/automake14/automake14-1.4_p6-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 6 - (show annotations) (download)
Sun Jan 11 01:07:49 2009 UTC (15 years, 3 months ago) by niro
File size: 1323 byte(s)
-fixed old cvs headers
1 # $Id$
2
3 PNAME="automake14"
4 PVER="1.4_p6"
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.gz"
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} \
58 pkgdatadir=/usr/share/automake-${PVER:0:3} \
59 m4datadir=/usr/share/aclocal-${PVER:0:3} \
60 install || die
61
62 rm -f ${BINDIR}/usr/bin/{aclocal,automake} || die
63
64 minstallinfo *.info || die
65 minstalldocs COPYING NEWS README THANKS TODO AUTHORS ChangeLog || die
66 }

Properties

Name Value
svn:keywords Id