void-packages/srcpkgs/oath-toolkit/template

27 lines
768 B
Bash

# Template file for 'oath-toolkit'
pkgname=oath-toolkit
version=2.6.2
revision=3
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="pam-devel"
short_desc="OATH one-time password toolkit"
maintainer="Farhad Shahbazi <grauwolf@geekosphere.org>"
license="GPL-3"
homepage="http://www.nongnu.org/oath-toolkit/"
distfiles="http://download.savannah.gnu.org/releases/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=b03446fa4b549af5ebe4d35d7aba51163442d255660558cd861ebce536824aa0
oath-toolkit-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/*.a
vmove usr/lib/*.so
vmove usr/share/man/man3
vmove usr/share/gtk-doc
}
}