Mercurial > vanilla
comparison core/gawk/gawk.sh @ 1094:3dece1f7570b
vanilla: add many ghost dependencies
author | David Demelier <markand@malikania.fr> |
---|---|
date | Mon, 09 Sep 2019 21:10:00 +0200 |
parents | ddab65a5b3f5 |
children | 7791d3dbfecf |
comparison
equal
deleted
inserted
replaced
1093:0502aa76ec98 | 1094:3dece1f7570b |
---|---|
19 PKGVERSION=4.2.1 | 19 PKGVERSION=4.2.1 |
20 PKGREVISION=1 | 20 PKGREVISION=1 |
21 PKGLICENSE="GPLv3" | 21 PKGLICENSE="GPLv3" |
22 PKGSUMMARY="GNU awk" | 22 PKGSUMMARY="GNU awk" |
23 PKGDOWNLOAD="https://ftp.gnu.org/pub/gnu/$PKGNAME/$PKGNAME-$PKGVERSION.tar.gz" | 23 PKGDOWNLOAD="https://ftp.gnu.org/pub/gnu/$PKGNAME/$PKGNAME-$PKGVERSION.tar.gz" |
24 PKGDEPENDS="gmp mpfr readline" | |
24 PKGOPTIONS="NLS" | 25 PKGOPTIONS="NLS" |
25 | 26 |
26 : ${CHOST:=$(uname -m)-linux-musl} | 27 : ${CHOST:=$(uname -m)-linux-musl} |
27 : ${CBUILD:=$(uname -m)-linux-musl} | 28 : ${CBUILD:=$(uname -m)-linux-musl} |
28 : ${CC:=clang} | 29 : ${CC:=clang} |
29 : ${CFLAGS:=-O2} | 30 : ${CFLAGS:=-O2} |
30 : ${LDFLAGS:=} | 31 : ${LDFLAGS:=} |
31 : ${LIBS:=} | 32 : ${LIBS:=} |
33 : ${NLS:=yes} | |
32 | 34 |
33 if [ "$NLS" = "yes" ]; then | 35 if [ "$NLS" = "yes" ]; then |
34 PKGDEPENDS="gettext $PKGDEPENDS" | 36 PKGDEPENDS="gettext $PKGDEPENDS" |
35 with_nls="--enable-nls" | 37 with_nls="--enable-nls" |
36 else | 38 else |