updated on Thu Jan 19 00:16:31 UTC 2012
[aur-mirror.git] / pam_p11 / PKGBUILD
blobf0f9fd3b6b7a3b115665c3958c6ee733b6fb64d1
1 # Maintainer: Timothy Redaelli <timothy.redaelli@gmail.com>
2 # Contributor: William Rea <sillywilly@gmail.com>
3 pkgname=pam_p11
4 pkgver=0.1.5
5 pkgrel=1
6 pkgdesc="PAM module for using crpytographic tokens such as smart cards and usb crypto tokens for authentication"
7 url="http://www.opensc-project.org/pam_p11"
8 arch=('x86_64' 'i686')
9 license=('LGPL')
10 depends=('pam' 'libp11' 'openssl')
11 source=("http://www.opensc-project.org/files/pam_p11/pam_p11-$pkgver.tar.gz"
12         "pam_symbols.ver")
13 sha256sums=('74da875467c4ba156f7cb7eaec0718f92dded03f40db3c6c0423c03f44d9f25a'
14             '3359a9186617879479a4e943a16bc8c69e4d0ab259e6b729f983ca9328616756')
16 build() {
17   # Taken from Gentoo ebuild
18   LDFLAGS="$LDFLAGS -Wl,--version-script=$srcdir/pam_symbols.ver"
19   cd "$srcdir/$pkgname-$pkgver"
20   ./configure --prefix=/usr --libdir=/lib --disable-static
21   make
24 package() {
25   cd "$srcdir/$pkgname-$pkgver"
26   make DESTDIR="$pkgdir/" install