void-packages/srcpkgs/libpam-google-authenticator/template

23 lines
682 B
Bash
Raw Normal View History

# Template file for 'google-authenticator'
pkgname=libpam-google-authenticator
version=1.0
revision=1
makedepends="pam-devel"
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
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
}