Commit 06485d00 authored by Natanael Copa's avatar Natanael Copa

main/cyrus-sasl: add static subpackage

ref #9738
parent 646a884c
......@@ -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=
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment