aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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=