1 # Maintainer: Timothy Redaelli <timothy.redaelli@gmail.com>
2 # Contributor: William Rea <sillywilly@gmail.com>
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"
10 depends=('pam' 'libp11' 'openssl')
11 source=("http://www.opensc-project.org/files/pam_p11/pam_p11-$pkgver.tar.gz"
13 sha256sums=('74da875467c4ba156f7cb7eaec0718f92dded03f40db3c6c0423c03f44d9f25a'
14 '3359a9186617879479a4e943a16bc8c69e4d0ab259e6b729f983ca9328616756')
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
25 cd "$srcdir/$pkgname-$pkgver"
26 make DESTDIR="$pkgdir/" install