Magellan Linux

Contents of /branches/R11-stable/core/gawk/gawk-4.0.0-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 14756 - (show annotations) (download)
Wed Jan 2 09:22:18 2013 UTC (11 years, 4 months ago) by niro
File size: 686 byte(s)
-release branches/R11-stable
1 # $Id$
2
3 PNAME="gawk"
4 PVER="4.0.0"
5 PBUILD="r2"
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 sminclude mbuild
18
19 SRC_URI=(
20 gnu://${PNAME}/${SRCFILE}
21 mirror://${PNAME}/${SRCFILE}
22 )
23
24 UP2DATE="updatecmd_gnu ${PNAME}"
25
26 src_compile()
27 {
28 cd ${SRCDIR}
29
30 mconfigure --libexecdir=/usr/$(mlibdir) || die
31 mmake || die
32 }
33
34 src_install()
35 {
36 cd ${SRCDIR}
37
38 minstall libexecdir=${BINDIR}/usr/$(mlibdir) || die
39
40 minstalldocs ABOUT-NLS AUTHORS COPYING ChangeLog FUTURES \
41 LIMITATIONS NEWS POSIX.STD PROBLEMS README || die
42 }