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