updated on Thu Jan 19 16:10:29 UTC 2012
[aur-mirror.git] / webauth / PKGBUILD
blob29a1fbc12334c37c0121d92039db2e61a970e7b2
1 # Contributor: Morgan LEFIEUX <comete_AT_archlinuxfr.org>
2 # Contributor: Mantas M. <grawity@gmail.com>
3 pkgname=webauth
4 pkgver=4.0.1
5 pkgrel=1
6 pkgdesc="A comprehensive system for authenticating web users with Kerberos 5."
7 url="http://webauth.stanford.edu"
8 depends=(
9         'apache'
10         'krb5'
11   'curl'
12   'openldap'
13   'openssl'
14   'perl-cgi-application'
15   'perl-cgi-application-plugin-autorunmode'
16   'perl-cgi-application-plugin-forward'
17   'perl-cgi-application-plugin-redirect'
18   'perl-cgi-application-plugin-session'
19   'perl-cgi-application-plugin-tt'
20   'perl-fcgi'
21   'perl-template-toolkit'
22   'perl-uri'
23   'remctl'
24   )
25 license=('custom')
26 arch=('x86_64')
27 source=("http://webauth.stanford.edu/dist/$pkgname-$pkgver.tar.gz")
28 sha1sums=('c81d572fd1431993756046be9235d08bd6bbade0')
30 build() {
31   cd "$srcdir/$pkgname-$pkgver"
32   ./configure \
33         --prefix=/usr \
34     --sysconfdir=/etc \
35     --libexecdir=/usr/lib \
36     --enable-webkdc \
37     ;
38   make
41 package() {
42   cd "$srcdir/$pkgname-$pkgver"
43   make DESTDIR="$pkgdir" install
44   mv "$pkgdir/usr/lib/apache2" "$pkgdir/usr/lib/httpd"
45   install -Dm0644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
48 # vim: ts=2:sw=2:et: