Annotation of /branches/magellan-next/core/gawk/gawk-3.1.8-r2.smage2
Parent Directory | Revision Log
Revision 7563 -
(hide annotations)
(download)
Thu May 26 21:23:39 2011 UTC (13 years, 4 months ago) by niro
File size: 738 byte(s)
Thu May 26 21:23:39 2011 UTC (13 years, 4 months ago) by niro
File size: 738 byte(s)
auto added: ver bump to 3.1.8-r2
1 | niro | 7563 | # $Id$ |
2 | |||
3 | PNAME="gawk" | ||
4 | PVER="3.1.8" | ||
5 | PBUILD="r2" | ||
6 | |||
7 | PCATEGORIE="sys-apps" | ||
8 | STATE="unstable" | ||
9 | |||
10 | DESCRIPTION="GNU awk pattern-matching language." | ||
11 | HOMEPAGE="http://www.gnu.org/software/gawk/gawk.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 | ) | ||
24 | |||
25 | UP2DATE="updatecmd_gnu ${PNAME}" | ||
26 | |||
27 | src_compile() | ||
28 | { | ||
29 | cd ${SRCDIR} | ||
30 | |||
31 | mconfigure --libexecdir=/usr/$(mlibdir)/awk || die | ||
32 | mmake || die | ||
33 | } | ||
34 | |||
35 | src_install() | ||
36 | { | ||
37 | cd ${SRCDIR} | ||
38 | |||
39 | minstall bindir=${BINDIR}/bin libexecdir=${BINDIR}/usr/$(mlibdir)/awk || die | ||
40 | |||
41 | minstalldocs ABOUT-NLS AUTHORS COPYING ChangeLog FUTURES \ | ||
42 | LIMITATIONS NEWS POSIX.STD PROBLEMS README || die | ||
43 | } |