Magellan Linux

Contents of /smage/tags/alx-0_6_10/core/automake111/automake111-1.11.1-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 8058 - (show annotations) (download)
Wed Dec 30 11:56:10 2015 UTC (8 years, 5 months ago) by niro
File size: 1342 byte(s)
tagged 'alx-0_6_10'
1 # $Id$
2
3 PNAME="automake111"
4 PVER="1.11.1"
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.11-infopage-namechange.patch
27 )
28
29 src_prepare()
30 {
31 munpack ${SRCFILE} || die
32 cd ${SRCDIR}
33
34 mpatch -Np1 automake-1.11-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 }