1 # Contributor: L42y <423300@gmail.com>
2 # Maintainer: Christian Hesse <mail@eworm.de>
7 pkgdesc="The OATH Toolkit attempts to collect several tools that are useful when deploying technologies related to OATH"
9 url="http://www.nongnu.org/oath-toolkit/"
12 source=(http://download.savannah.nongnu.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.gz)
15 cd "${srcdir}/${pkgname}-${pkgver}"
17 ./configure --prefix=/usr
22 cd "${srcdir}/${pkgname}-${pkgver}"
23 make DESTDIR="${pkgdir}/" install
25 # PAM doesn't look here anyway
26 rm -rf ${pkgdir}/usr/lib/security
27 install -D -m 755 pam_oath/.libs/pam_oath.so ${pkgdir}/lib/security/pam_oath.so
29 # Install basic docs too
30 install -D -m 644 pam_oath/README ${pkgdir}/usr/share/doc/oath-toolkit/PAM_README
31 install -D -m 644 README ${pkgdir}/usr/share/doc/oath-toolkit/README
33 md5sums=('b15754a7419592c57b8a98cc413eb873')