aboutsummaryrefslogtreecommitdiffstats
path: root/main/libgssglue/APKBUILD
blob: 81bca94c411efe863fd038a81b42becdef0d26b8 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libgssglue
pkgver=0.1
pkgrel=3
pkgdesc="exports a gssapi interface which calls other random gssapi libraries"
url="http://www.citi.umich.edu/projects/nfsv4/linux/"
arch="all"
license="BSD"
depends=
subpackages="$pkgname-dev $pkgname-doc"
source="http://www.citi.umich.edu/projects/nfsv4/linux/$pkgname/$pkgname-$pkgver.tar.gz
	gssapi_mech.conf"

_builddir="$srcdir"/$pkgname-$pkgver
build() {
	cd "$_builddir"
	./configure --prefix=/usr
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir/" install || return 1
	rm "$pkgdir"/usr/lib/*.la || return 1
	install -D -m 644 ../gssapi_mech.conf "$pkgdir/"etc/gssapi_mech.conf
	install -D -m644 COPYING $pkgdir/usr/share/licenses/libgssglue/COPYING
}
md5sums="ce1b4c758e6de01b712d154c5c97e540  libgssglue-0.1.tar.gz
234b9cca75a33af98eda3f1683756879  gssapi_mech.conf"