Annotation of /trunk/core/automake14/automake14-1.4_p6-r3.smage2
Parent Directory | Revision Log
Revision 95 -
(hide annotations)
(download)
Tue Oct 14 10:17:43 2008 UTC (15 years, 11 months ago) by niro
File size: 1588 byte(s)
Tue Oct 14 10:17:43 2008 UTC (15 years, 11 months ago) by niro
File size: 1588 byte(s)
-rev bump to 1.4_p6-r3
1 | niro | 95 | # $Header: /magellan-cvs/smage/automake14/automake14-1.4_p6-r2.smage2,v 1.1 2008/02/09 14:00:37 niro Exp $ |
2 | |||
3 | PNAME="automake14" | ||
4 | PVER="1.4_p6" | ||
5 | PBUILD="r3" | ||
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 | ||
22 | |||
23 | SRC_URI=( | ||
24 | gnu://automake/${SRCFILE} | ||
25 | mirror://automake/${SRCFILE} | ||
26 | ) | ||
27 | |||
28 | UP2DATE="updatecmd \"http://ftp.gnu.org/gnu/${PNAME/[0-9]*/}?C=M;O=A\" | grep \"$( echo ${PVER:0:3} | sed 's:\.:\\.:g' )\" | sed 's/-\(p[0-9]\)/_\1/' | lasttarball gz" | ||
29 | |||
30 | src_prepare() | ||
31 | { | ||
32 | munpack ${SRCFILE} || die | ||
33 | cd ${SRCDIR} | ||
34 | |||
35 | sed -i \ | ||
36 | -e "/^@setfilename/s|automake|automake${PVER:0:3}|" \ | ||
37 | -e "s|automake: (automake)|automake v${PVER:0:3}: (automake${PVER:0:3})|" \ | ||
38 | -e "s|aclocal: (automake)|aclocal v${PVER:0:3}: (automake${PVER:0:3})|" \ | ||
39 | automake.texi || die | ||
40 | } | ||
41 | |||
42 | src_compile() | ||
43 | { | ||
44 | cd ${SRCDIR} | ||
45 | |||
46 | # stupid configure script goes and run autoconf in a subdir, | ||
47 | # so 'ac-wrapper.pl' do not detect that it should use | ||
48 | # autoconf-2.5x | ||
49 | export WANT_AUTOCONF=2.5 | ||
50 | |||
51 | mconfigure || die | ||
52 | mmake || die | ||
53 | } | ||
54 | |||
55 | src_install() | ||
56 | { | ||
57 | cd ${SRCDIR} | ||
58 | |||
59 | make DESTDIR=${BINDIR} \ | ||
60 | pkgdatadir=/usr/share/automake-${PVER:0:3} \ | ||
61 | m4datadir=/usr/share/aclocal-${PVER:0:3} \ | ||
62 | install || die | ||
63 | |||
64 | rm -f ${BINDIR}/usr/bin/{aclocal,automake} || die | ||
65 | |||
66 | minstallinfo *.info || die | ||
67 | minstalldocs COPYING NEWS README THANKS TODO AUTHORS ChangeLog || die | ||
68 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |