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