Magellan Linux

Annotation of /trunk/core/automake110/automake110-1.10.1-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3 - (hide annotations) (download)
Fri Oct 10 18:33:11 2008 UTC (15 years, 7 months ago) by niro
File size: 1441 byte(s)
import
1 niro 3 # $Header: /magellan-cvs/smage/automake110/automake110-1.10.1-r1.smage2,v 1.2 2008/02/09 14:08:34 niro Exp $
2    
3     PNAME="automake110"
4     PVER="1.10.1"
5     PBUILD="r1"
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
22    
23     SRC_URI=(
24     gnu://automake/${SRCFILE}
25     mirror://automake/${SRCFILE}
26     mirror://automake/automake-1.10-infopage-namechange.patch
27     )
28    
29     src_prepare()
30     {
31     munpack ${SRCFILE} || die
32     cd ${SRCDIR}
33    
34     mpatch automake-1.10-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