Mercurial > vanilla
comparison network/wget/wget.sh @ 902:a133976e0783
vanilla: remove all origins, closes #2203
author | David Demelier <markand@malikania.fr> |
---|---|
date | Mon, 26 Aug 2019 12:14:53 +0200 |
parents | ae55d9077f70 |
children | ddab65a5b3f5 |
comparison
equal
deleted
inserted
replaced
901:e2de15b7d2b1 | 902:a133976e0783 |
---|---|
19 PKGVERSION=1.20.1 | 19 PKGVERSION=1.20.1 |
20 PKGREVISION=1 | 20 PKGREVISION=1 |
21 PKGLICENSE="GPLv3" | 21 PKGLICENSE="GPLv3" |
22 PKGSUMMARY="GNU network utility to retrieve files from the web" | 22 PKGSUMMARY="GNU network utility to retrieve files from the web" |
23 PKGDOWNLOAD="https://ftp.gnu.org/gnu/$PKGNAME/$PKGNAME-$PKGVERSION.tar.lz" | 23 PKGDOWNLOAD="https://ftp.gnu.org/gnu/$PKGNAME/$PKGNAME-$PKGVERSION.tar.lz" |
24 PKGDEPENDS="lib/libunistring compression/zlib" | 24 PKGDEPENDS="libunistring zlib" |
25 PKGOPTIONS="NLS SSL UUID" | 25 PKGOPTIONS="NLS SSL UUID" |
26 | 26 |
27 : ${CHOST:=$(uname -m)-linux-musl} | 27 : ${CHOST:=$(uname -m)-linux-musl} |
28 : ${CBUILD:=$(uname -m)-linux-musl} | 28 : ${CBUILD:=$(uname -m)-linux-musl} |
29 : ${CC:=clang} | 29 : ${CC:=clang} |
33 : ${SSL:=gnutls} # upstream default | 33 : ${SSL:=gnutls} # upstream default |
34 : ${NLS:=yes} | 34 : ${NLS:=yes} |
35 : ${UUID:=yes} | 35 : ${UUID:=yes} |
36 | 36 |
37 if [ "$NLS" = "yes" ]; then | 37 if [ "$NLS" = "yes" ]; then |
38 PKGDEPENDS="core/gettext $PKGDEPENDS" | 38 PKGDEPENDS="gettext $PKGDEPENDS" |
39 with_nls="--enable-nls" | 39 with_nls="--enable-nls" |
40 else | 40 else |
41 with_nls="--disable-nls" | 41 with_nls="--disable-nls" |
42 fi | 42 fi |
43 | 43 |
44 if [ "$SSL" = "openssl" ]; then | 44 if [ "$SSL" = "openssl" ]; then |
45 PKGDEPENDS="crypto/libressl $PKGDEPENDS" | 45 PKGDEPENDS="libressl $PKGDEPENDS" |
46 with_ssl="--with-ssl=openssl" | 46 with_ssl="--with-ssl=openssl" |
47 elif [ "$SSL" = "gnutls" ]; then | 47 elif [ "$SSL" = "gnutls" ]; then |
48 PKGDEPENDS="crypto/gnutls $PKGDEPENDS" | 48 PKGDEPENDS="gnutls $PKGDEPENDS" |
49 with_ssl="--with-ssl=gnutls" | 49 with_ssl="--with-ssl=gnutls" |
50 else | 50 else |
51 with_ssl="--without-ssl" | 51 with_ssl="--without-ssl" |
52 fi | 52 fi |
53 | 53 |
54 if [ "$UUID" = "yes" ]; then | 54 if [ "$UUID" = "yes" ]; then |
55 PKGDEPENDS="core/util-linux $PKGDEPENDS" | 55 PKGDEPENDS="util-linux $PKGDEPENDS" |
56 with_uuid="--with-uuid" | 56 with_uuid="--with-uuid" |
57 else | 57 else |
58 with_uuid="--without-uuid" | 58 with_uuid="--without-uuid" |
59 fi | 59 fi |
60 | 60 |