2014-12-21 02:54:28 +01:00
|
|
|
# Template file for 'google-authenticator'
|
|
|
|
pkgname=libpam-google-authenticator
|
2014-12-21 07:37:52 +01:00
|
|
|
version=1.0
|
2014-12-21 02:54:28 +01:00
|
|
|
revision=1
|
2014-12-21 07:37:52 +01:00
|
|
|
makedepends="pam-devel"
|
2014-12-21 02:54:28 +01:00
|
|
|
hostmakedepends="pkg-config"
|
|
|
|
short_desc="Google's two-factor authentication project"
|
|
|
|
maintainer="Sean R. Lang <srlang@ncsu.edu>"
|
|
|
|
license="Apache-2.0"
|
|
|
|
homepage="https://google-authenticator.googlecode.com"
|
|
|
|
distfiles="${homepage}/files/${pkgname}-${version}-source.tar.bz2"
|
|
|
|
checksum=80426045d13ce7a2bf56c692ccfb1751cef3c7484752ad40738facf729264d4b
|
2014-12-21 07:37:52 +01:00
|
|
|
|
|
|
|
do_build() {
|
|
|
|
make CC=$CC CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" ${makejobs}
|
|
|
|
}
|
|
|
|
do_install() {
|
|
|
|
vbin google-authenticator
|
|
|
|
vinstall pam_google_authenticator.so 755 usr/lib/security
|
|
|
|
vdoc README
|
|
|
|
vdoc FILEFORMAT
|
|
|
|
}
|