aboutsummaryrefslogtreecommitdiffstats
path: root/main/librpcsecgss/APKBUILD
blob: 4d0d1c253e44297172b94587b1e848eb57b48bb6 (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
44
45
46
47
48
49
50
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=librpcsecgss
pkgver=0.19
pkgrel=0
pkgdesc="Library for RPCSECGSS support"
url="http://www.citi.umich.edu/projects/nfsv4/linux/librpcsecgss"
arch="all"
license="GPL"
depends=""
depends_dev="libgssglue-dev"
makedepends="$depends_dev"
install=""
subpackages="$pkgname-dev"
source="http://www.citi.umich.edu/projects/nfsv4/linux/librpcsecgss/librpcsecgss-$pkgver.tar.gz"

_builddir="$srcdir"/librpcsecgss-$pkgver
prepare() {
	local i
	cd "$_builddir"
	update_config_sub || return 1
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

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

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
	rm -f "$pkgdir"/usr/lib/*.la
}

md5sums="b45ed565bdc3099023aa35830ec92997  librpcsecgss-0.19.tar.gz"
sha256sums="0cafb86b67e5eb4c89e8abaaad9165298946bc164d258e8925fc6dc1fa913abd  librpcsecgss-0.19.tar.gz"
sha512sums="f492f26ebfc6bde007b0b06554dd9075786c1f7562add911cffcc892b3f34698a2f9847b399df828ff0665a906ef17192df070f7b70d32a2ce709291a7492620  librpcsecgss-0.19.tar.gz"