aboutsummaryrefslogtreecommitdiffstats
path: root/testing/pam-krb5/APKBUILD
blob: 5b88d7614aff8b40f594a33e00b18a1c9fc104a7 (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
# Contributor: ScrumpyJack <scrumpyjack@st.ilet.to>
# Maintainer: ScrumpyJack <scrumpyjack@st.ilet.to>
pkgname=pam-krb5
pkgver=4.7
pkgrel=0
pkgdesc="PAM module providing Kerberos v5 support"
url="http://www.eyrie.org/~eagle/software/pam-krb5"
arch="all"
license="custom"
depends=""
makedepends="krb5-dev linux-pam-dev"
install=""
subpackages="$pkgname-doc"
source="http://archives.eyrie.org/software/kerberos/$pkgname-$pkgver.tar.gz"
builddir="$srcdir/${pkgname}-${pkgver}"

build() {
	cd "$builddir"
	./configure \
		--prefix=/usr \
		--enable-reduced-depends \
		--libdir=/usr/lib || return 1
	make || return 1
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
	install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}

md5sums="bc18403652b29d51f92e02582b15105a  pam-krb5-4.7.tar.gz"
sha256sums="9b4ff52d0456939a0fe6d6676a965a6c2351d9f2c011de8402bfc12c547a7412  pam-krb5-4.7.tar.gz"
sha512sums="b6f5a4788a4e809f21ef3e89fff50c76679ac8e7d10bc2617275e06e84ce7bd8a02089ff7682ec64827d45409c968c469a0dca730d676ad2db082e09b9dd31ce  pam-krb5-4.7.tar.gz"