Magellan Linux

Contents of /branches/R11-unstable/core/gawk/gawk-4.0.0-r5.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 32263 - (show annotations) (download)
Mon Apr 29 12:02:17 2019 UTC (5 years 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="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 >= sys-libs/readline-8.0"
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 }