aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2019-01-01 11:58:27 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2019-01-01 12:00:31 +0000
commit06485d00e93e16f309f3ee5a9dafb8896c970ab6 (patch)
tree63b7f3562bb372d09158eb55ebbe5110e1148725
parent646a884ce6ea7b83f3b5a03ad3e8b2e335fed5fb (diff)
downloadaports-06485d00e93e16f309f3ee5a9dafb8896c970ab6.tar.gz
aports-06485d00e93e16f309f3ee5a9dafb8896c970ab6.tar.bz2
aports-06485d00e93e16f309f3ee5a9dafb8896c970ab6.tar.xz
main/cyrus-sasl: add static subpackage
ref #9738
-rw-r--r--main/cyrus-sasl/APKBUILD12
1 files changed, 10 insertions, 2 deletions
diff --git a/main/cyrus-sasl/APKBUILD b/main/cyrus-sasl/APKBUILD
index 279f273f81..aaefd7c811 100644
--- a/main/cyrus-sasl/APKBUILD
+++ b/main/cyrus-sasl/APKBUILD
@@ -2,13 +2,13 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=cyrus-sasl
pkgver=2.1.26
-pkgrel=14
+pkgrel=15
pkgdesc="Cyrus Simple Authentication Service Layer (SASL)"
url="https://cyrusimap.org/"
arch="all"
license="custom"
options="!check" # No test suite.
-subpackages="$pkgname-dev $pkgname-doc $pkgname-gssapi $pkgname-gs2
+subpackages="$pkgname-static $pkgname-dev $pkgname-doc $pkgname-gssapi $pkgname-gs2
$pkgname-scram $pkgname-ntlm $pkgname-crammd5 $pkgname-digestmd5
libsasl $pkgname-openrc"
depends=
@@ -46,6 +46,8 @@ build() {
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
+ --enable-static \
+ --enable-shared \
--disable-anon \
--enable-cram \
--enable-digest \
@@ -71,6 +73,12 @@ package() {
install -d "$pkgdir"/var/run/saslauthd
}
+static() {
+ pkgdesc="Static libraires for $pkgname"
+ mkdir -p "$subpkgdir"/usr/lib
+ mv "$pkgdir"/usr/lib/*.a "$subpkgdir"/usr/lib/
+}
+
_plugindir=usr/lib/sasl2
_plugin() {
depends=