aboutsummaryrefslogtreecommitdiffstats
path: root/main/libgsasl/APKBUILD
blob: 0968fe384f3029b484b1226a9a11ddbb50e60883 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=libgsasl
pkgver=1.8.0
pkgrel=4
pkgdesc="An implementation of the Simple Authentication and Security Layer framework"
url="https://www.gnu.org/software/gsasl/"
arch="all"
license="LGPL-2.0-or-later"
makedepends="libidn-dev libgss-dev libgcrypt-dev"
subpackages="$pkgname-dev"
source="https://ftp.gnu.org/gnu/gsasl/libgsasl-$pkgver.tar.gz"

prepare() {
	default_prepare
	update_config_guess
}

build() {
	cd "$builddir"
	./configure \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var \
		--with-libgcrypt \
		--disable-nls
	make
}

check() {
	cd "$builddir"
	make tests
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
	rm -f "$pkgdir"/usr/lib/*.a
}

sha512sums="7e591d12404919559bf67590f862270ffcae2030a14097cdaf92820aa79619b3048541e9f83b3fcb98a84622c44a52ecaceeebb1be55b9e9f68fb1790ade8721  libgsasl-1.8.0.tar.gz"