void-packages/srcpkgs/libpam-google-authenticator/template
Juan RP 9e1d4a1cba libpam-google-authenticator: misc cleanups.
- Build with our {C,LD}FLAGS.
- Fix installation.
- Remove unnecessary rdeps and correct bdeps.

Close #754
2014-12-21 07:37:52 +01:00

23 lines
682 B
Bash

# 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
}