diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-04-25 14:22:40 -0300 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2019-05-27 20:12:32 +0000 |
commit | 6c27a870339d1e86f62cbddf085199081c88138a (patch) | |
tree | edbdbd60e1d828951669c29dbd5f6f894135f39f /main/libgcrypt | |
parent | 2f0a92c51597a3266221bd4230500751e9f69940 (diff) | |
download | aports-6c27a870339d1e86f62cbddf085199081c88138a.tar.bz2 aports-6c27a870339d1e86f62cbddf085199081c88138a.tar.xz |
main/libgcrypt: enable static libraries
fixes #10236
Diffstat (limited to 'main/libgcrypt')
-rw-r--r-- | main/libgcrypt/APKBUILD | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/main/libgcrypt/APKBUILD b/main/libgcrypt/APKBUILD index a8f41d5407..a787e28a42 100644 --- a/main/libgcrypt/APKBUILD +++ b/main/libgcrypt/APKBUILD @@ -1,15 +1,14 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=libgcrypt pkgver=1.8.4 -pkgrel=0 +pkgrel=1 pkgdesc="general purpose crypto library based on the code used in GnuPG" url="http://www.gnupg.org" arch="all" -license="LGPL" -depends="" +license="LGPL-2.1-or-later" depends_dev="libgpg-error-dev" makedepends="$depends_dev texinfo" -subpackages="$pkgname-dev $pkgname-doc" +subpackages="$pkgname-static $pkgname-dev $pkgname-doc" source="https://www.gnupg.org/ftp/gcrypt/libgcrypt/$pkgname-$pkgver.tar.bz2" builddir="$srcdir"/$pkgname-$pkgver options="!checkroot" @@ -39,7 +38,7 @@ build () { --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var \ - --disable-static \ + --enable-static \ $_arch_configure make @@ -58,4 +57,10 @@ package() { rm -f ${pkgdir}/usr/share/info/dir } +static() { + pkgdesc="$pkgnanme static libraries" + mkdir -p "$subpkgdir"/usr/lib + mv "$pkgdir"/usr/lib/*.a "$subpkgdir"/usr/lib/ +} + sha512sums="b831fc337eb14806897e224b0d1e78d1f8e9db91dffa818a015a4aa104144e2d971e5a855904907ee2bb9990a9d526de32d6787e1cae98e28a65c3258b2b1ea1 libgcrypt-1.8.4.tar.bz2" |