Contents of /branches/magellan-next/core/m4/m4-1.4.16-r1.smage2
Parent Directory | Revision Log
Revision 7542 -
(show annotations)
(download)
Thu May 26 20:03:24 2011 UTC (13 years, 4 months ago) by niro
File size: 669 byte(s)
Thu May 26 20:03:24 2011 UTC (13 years, 4 months ago) by niro
File size: 669 byte(s)
auto added: ver bump to 1.4.16-r1
1 | # $Id$ |
2 | |
3 | PNAME="m4" |
4 | PVER="1.4.16" |
5 | PBUILD="r1" |
6 | |
7 | PCATEGORIE="sys-dev" |
8 | STATE="unstable" |
9 | |
10 | DESCRIPTION="GNU macro processor." |
11 | HOMEPAGE="http://www.gnu.org/software/m4/m4.html" |
12 | |
13 | DEPEND=">= virtual/glibc" |
14 | |
15 | SRCFILE="${PNAME}-${PVER}.tar.bz2" |
16 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
17 | |
18 | sminclude mbuild |
19 | |
20 | SRC_URI=( |
21 | gnu://${PNAME}/${SRCFILE} |
22 | mirror://${PNAME}/${SRCFILE} |
23 | mirror://${PNAME}/${PNAME}-1.4.14-fix-includes.patch |
24 | ) |
25 | |
26 | UP2DATE="updatecmd_gnu ${PNAME}" |
27 | |
28 | src_prepare() |
29 | { |
30 | munpack ${SRCFILE} || die |
31 | cd ${SRCDIR} |
32 | |
33 | # fix missing includes |
34 | mpatch ${PNAME}-1.4.14-fix-includes.patch || die |
35 | } |
36 | |
37 | src_compile() |
38 | { |
39 | cd ${SRCDIR} |
40 | |
41 | mconfigure --enable-changeword || die |
42 | mmake || die |
43 | } |