Contents of /branches/R11-unstable/core/gawk/gawk-4.0.0-r3.smage2
Parent Directory | Revision Log
Revision 24964 -
(show annotations)
(download)
Tue Nov 25 02:43:56 2014 UTC (9 years, 10 months ago) by niro
File size: 712 byte(s)
Tue Nov 25 02:43:56 2014 UTC (9 years, 10 months ago) by niro
File size: 712 byte(s)
-release branches/R11-unstable
1 | # $Id$ |
2 | |
3 | PNAME="gawk" |
4 | PVER="4.0.0" |
5 | PBUILD="r3" |
6 | |
7 | PCAT="sys-apps" |
8 | |
9 | DESCRIPTION="GNU awk pattern-matching language." |
10 | HOMEPAGE="http://www.gnu.org/software/gawk/gawk.html" |
11 | |
12 | DEPEND=">= virtual/glibc |
13 | >= sys-libs/readline-6.3" |
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) || die |
32 | mmake || die |
33 | } |
34 | |
35 | src_install() |
36 | { |
37 | cd ${SRCDIR} |
38 | |
39 | minstall libexecdir=${BINDIR}/usr/$(mlibdir) || die |
40 | |
41 | minstalldocs ABOUT-NLS AUTHORS COPYING ChangeLog FUTURES \ |
42 | LIMITATIONS NEWS POSIX.STD PROBLEMS README || die |
43 | } |