Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 14402 - (show annotations) (download)
Fri Jul 10 09:57:44 2020 UTC (3 years, 9 months ago) by niro
File size: 779 byte(s)
-fixed missing mpfr dep
1 # $Id$
2
3 PNAME="gawk"
4 PVER="5.1.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 >= dev-libs/mpfr-4"
14
15 SRCFILE="${PNAME}-${PVER}.tar.xz"
16 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
17
18 msetfeature "!check"
19 ALX_PKG_KEEP="usr/bin/gawk usr/bin/awk"
20 sminclude mbuild alx-split
21
22 SRC_URI=(
23 gnu://${PNAME}/${SRCFILE}
24 mirror://${PNAME}/${SRCFILE}
25 )
26
27 UP2DATE="updatecmd_gnu ${PNAME} xz"
28
29 src_compile()
30 {
31 cd ${SRCDIR}
32
33 mconfigure --libexecdir=/usr/$(mlibdir) || die
34 mmake || die
35 }
36
37 src_install()
38 {
39 cd ${SRCDIR}
40
41 minstall libexecdir=${BINDIR}/usr/$(mlibdir) || die
42
43 minstalldocs ABOUT-NLS AUTHORS COPYING ChangeLog FUTURES \
44 LIMITATIONS NEWS POSIX.STD PROBLEMS README || die
45 }