Contents of /smage/trunk/core/gawk/gawk-3.1.8-r1.smage2
Parent Directory | Revision Log
Revision 714 -
(show annotations)
(download)
Thu Oct 21 15:10:26 2010 UTC (13 years, 11 months ago) by niro
File size: 799 byte(s)
Thu Oct 21 15:10:26 2010 UTC (13 years, 11 months ago) by niro
File size: 799 byte(s)
-mcore
1 | # $Id$ |
2 | |
3 | PNAME="gawk" |
4 | PVER="3.1.8" |
5 | PBUILD="r1" |
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 | MCORE_ONLY_KEEP="bin/gawk bin/awk" |
19 | sminclude mbuild mcore-split |
20 | |
21 | SRC_URI=( |
22 | gnu://${PNAME}/${SRCFILE} |
23 | mirror://${PNAME}/${SRCFILE} |
24 | ) |
25 | |
26 | UP2DATE="updatecmd_gnu ${PNAME}" |
27 | |
28 | src_compile() |
29 | { |
30 | cd ${SRCDIR} |
31 | |
32 | mconfigure --libexecdir=/usr/$(mlibdir)/awk || die |
33 | mmake || die |
34 | } |
35 | |
36 | mcore_generic_src_install() |
37 | { |
38 | cd ${SRCDIR} |
39 | |
40 | minstall bindir=${BINDIR}/bin libexecdir=${BINDIR}/usr/$(mlibdir)/awk || die |
41 | |
42 | minstalldocs ABOUT-NLS AUTHORS COPYING ChangeLog FUTURES \ |
43 | LIMITATIONS NEWS POSIX.STD PROBLEMS README || die |
44 | } |