Contents of /smage/trunk/core/gawk/gawk-4.0.0-r5.smage2
Parent Directory | Revision Log
Revision 6504 -
(show annotations)
(download)
Mon Jul 13 13:32:31 2015 UTC (9 years, 2 months ago) by niro
File size: 736 byte(s)
Mon Jul 13 13:32:31 2015 UTC (9 years, 2 months ago) by niro
File size: 736 byte(s)
auto added: ver bump to 4.0.0-r5
1 | # $Id$ |
2 | |
3 | PNAME="gawk" |
4 | PVER="4.0.0" |
5 | PBUILD="r5" |
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 | |
14 | SRCFILE="${PNAME}-${PVER}.tar.bz2" |
15 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
16 | |
17 | ALX_PKG_KEEP="usr/bin/gawk usr/bin/awk" |
18 | sminclude mbuild alx-split |
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 | } |