Annotation of /smage/trunk/core/m4/m4-1.4.15-r1.smage2
Parent Directory | Revision Log
Revision 679 -
(hide annotations)
(download)
Thu Oct 21 12:51:47 2010 UTC (13 years, 7 months ago) by niro
File size: 722 byte(s)
Thu Oct 21 12:51:47 2010 UTC (13 years, 7 months ago) by niro
File size: 722 byte(s)
auto added: ver bump to 1.4.15-r1
1 | niro | 679 | # $Id: m4-1.4.13-r2.smage2 3029 2009-10-07 17:12:25Z niro $ |
2 | |||
3 | PNAME="m4" | ||
4 | PVER="1.4.15" | ||
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 | } |