void-packages/srcpkgs/libpam-google-authenticator/template
Juergen Buchmueller 9d7343eb10 libpam-google-authenticator: update to gitrev
The project moved from GoogleCode to GitHub. Use the latest git revision.
2016-10-19 19:07:54 +02:00

21 lines
735 B
Bash

# Template file for 'google-authenticator'
pkgname=libpam-google-authenticator
version=1.0.0.20161019
revision=1
_pkgname=${pkgname#libpam-}
_gitrev=9d858ecaad46b40b004fbc1413daa4143c3f10b8
wrksrc="${_pkgname}-${_gitrev}"
build_wrksrc="libpam"
build_style=gnu-configure
makedepends="pam-devel"
hostmakedepends="automake libtool pkg-config"
short_desc="Google's two-factor authentication project"
maintainer="Sean R. Lang <srlang@ncsu.edu>"
license="Apache-2.0"
homepage="https://github.com/google/google-authenticator"
distfiles="https://github.com/google/${_pkgname}/archive/${_gitrev}.tar.gz>${pkgname}-${version}.tar.gz"
checksum=a9325204633c6b5c12aa62c4825f425a9c4da286f2fd9f0f0d06586b76543509
pre_configure() {
./bootstrap.sh
}