Mercurial > vanilla
diff security/libsecret/libsecret.sh @ 721:034a2a62a9f8
vanilla: consolidate options with lint-options.sh
author | David Demelier <markand@malikania.fr> |
---|---|
date | Mon, 05 Aug 2019 13:19:31 +0200 |
parents | 0b0c88de2c89 |
children | 59a2fa6992bc |
line wrap: on
line diff
--- a/security/libsecret/libsecret.sh Mon Aug 05 12:41:20 2019 +0200 +++ b/security/libsecret/libsecret.sh Mon Aug 05 13:19:31 2019 +0200 @@ -22,7 +22,7 @@ PKGSUMMARY="a library for storing and accessing passwords" PKGDOWNLOAD="https://download.gnome.org/sources/libsecret/${PKGVERSION%.*}/$PKGNAME-$PKGVERSION.tar.xz" PKGDEPENDS="lib/glib text/libxslt:build" -PKGOPTIONS="GCRYPT NLS VALA" +PKGOPTIONS="CRYPTO NLS VALA" : ${CHOST:=$(uname -m)-linux-musl} : ${CBUILD:=$(uname -m)-linux-musl} @@ -31,15 +31,15 @@ : ${LDFLAGS:=} : ${LIBS:=} : ${LDFLAGS:=} -: ${GCRYPT:=yes} +: ${CRYPTO:=yes} : ${NLS:=yes} : ${VALA:=yes} -if [ "$GCRYPT" = "yes" ]; then +if [ "$CRYPTO" = "yes" ]; then PKGDEPENDS="crypto/libgcrypt $PKGDEPENDS" - with_gcrypt="--enable-gcrypt" + with_crypto="--enable-gcrypt" else - with_gcrypt="--disable-gcrypt" + with_crypto="--disable-gcrypt" fi if [ "$NLS" = "yes" ]; then @@ -71,7 +71,9 @@ --host=$CHOST \ --prefix= \ --disable-static \ - --enable-shared + --enable-shared \ + $with_crypto \ + $with_vala make make install DESTDIR=$DESTDIR rm -f $DESTDIR/lib/libsecret-1.la