aboutsummaryrefslogtreecommitdiffstats
path: root/main/libgss/APKBUILD
blob: 60e7295c812c62b7f0a9c49488e12c192e55d560 (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
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=libgss
pkgver=0.1.5
pkgrel=1
pkgdesc="An implementation of the Generic Security Service Application Program Interface"
url="http://www.gnu.org/software/gss/"
arch="all"
license="GPL3+"
depends=""
depends_dev="pkgconfig"
makedepends="$depends_dev"
install=""
subpackages="$pkgname-dev $pkgname-doc"
source="ftp://alpha.gnu.org/gnu/gss/gss-$pkgver.tar.gz"
_builddir="$srcdir"/gss-$pkgver

build() {
	cd "$_builddir"
	update_config_guess || return 1
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var \
		--disable-nls \
		|| return 1
	make || return 1
	make tests || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
}

sha512sums="5dd76b763b787dfa90d378420272236a6ebc29d5d123460bea9951e8e57c1725e4b3164447e9c0f01e7cf031fd177daee45f3ccdc7bbe8f73f118898966280e7  gss-0.1.5.tar.gz"