diff options
-rw-r--r-- | main/cyrus-sasl/APKBUILD | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/main/cyrus-sasl/APKBUILD b/main/cyrus-sasl/APKBUILD index b50164653d..6346d9fae2 100644 --- a/main/cyrus-sasl/APKBUILD +++ b/main/cyrus-sasl/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=cyrus-sasl pkgver=2.1.23 -pkgrel=1 +pkgrel=2 pkgdesc="Cyrus Simple Authentication Service Layer (SASL)" url="http://cyrusimap.web.cmu.edu/downloads.html#sasl" license="custom" @@ -32,9 +32,16 @@ build () --disable-otp \ --enable-plain \ --with-devrandom=/dev/urandom \ - --mandir=/usr/share/man + --mandir=/usr/share/man || return 1 + # parallell buildds is broken so we build libs first + cd lib && make || return 1 - make -j1 || return 1 + cd "$srcdir"/cyrus-sasl-$pkgver + make || return 1 +} + +package() { + cd "$srcdir"/cyrus-sasl-$pkgver make -j1 DESTDIR="$pkgdir" install || return 1 install -D -m644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING |