Magellan Linux

Contents of /smage/trunk/core/gawk/gawk-5.1.0-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 13980 - (show annotations) (download)
Thu Jul 2 08:48:05 2020 UTC (3 years, 9 months ago) by niro
File size: 738 byte(s)
auto added: ver bump to 5.1.0-r1
1 # $Id$
2
3 PNAME="gawk"
4 PVER="4.0.0"
5 PBUILD="r6"
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.xz"
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} xz"
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 }