Annotation of /smage/trunk/core/automake16/automake16-1.6.3-r6.smage2
Parent Directory | Revision Log
Revision 10203 -
(hide annotations)
(download)
Wed Aug 16 13:21:05 2017 UTC (6 years, 9 months ago) by niro
File size: 1327 byte(s)
Wed Aug 16 13:21:05 2017 UTC (6 years, 9 months ago) by niro
File size: 1327 byte(s)
auto added: ver bump to 1.6.3-r6
1 | niro | 10203 | # $Id$ |
2 | |||
3 | PNAME="automake16" | ||
4 | PVER="1.6.3" | ||
5 | PBUILD="r6" | ||
6 | |||
7 | PCAT="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 | sminclude mtools | ||
21 | |||
22 | SRC_URI=( | ||
23 | gnu://automake/${SRCFILE} | ||
24 | mirror://automake/${SRCFILE} | ||
25 | ) | ||
26 | |||
27 | UP2DATE="updatecmd \"http://ftp.gnu.org/gnu/${PNAME/[0-9]*/}?C=M;O=A\" | grep \"$( echo ${PVER:0:3} | sed 's:\.:\\.:g' )\" | lasttarball" | ||
28 | |||
29 | src_prepare() | ||
30 | { | ||
31 | munpack ${SRCFILE} || die | ||
32 | cd ${SRCDIR} | ||
33 | |||
34 | sed -i \ | ||
35 | -e "/^@setfilename/s|automake|automake${PVER:0:3}|" \ | ||
36 | -e "s|automake: (automake)|automake v${PVER:0:3}: (automake${PVER:0:3})|" \ | ||
37 | -e "s|aclocal: (automake)|aclocal v${PVER:0:3}: (automake${PVER:0:3})|" \ | ||
38 | automake.texi || die | ||
39 | } | ||
40 | |||
41 | src_compile() | ||
42 | { | ||
43 | cd ${SRCDIR} | ||
44 | |||
45 | # stupid configure script goes and run autoconf in a subdir, | ||
46 | # so 'ac-wrapper.pl' do not detect that it should use | ||
47 | # autoconf-2.5x | ||
48 | export WANT_AUTOCONF=2.5 | ||
49 | |||
50 | mconfigure || die | ||
51 | mmake || die | ||
52 | } | ||
53 | |||
54 | src_install() | ||
55 | { | ||
56 | cd ${SRCDIR} | ||
57 | |||
58 | make DESTDIR=${BINDIR} install || die | ||
59 | rm -f ${BINDIR}/usr/bin/{aclocal,automake} || die | ||
60 | |||
61 | minstallinfo *.info || die | ||
62 | minstalldocs COPYING NEWS README THANKS TODO AUTHORS ChangeLog || die | ||
63 | } |