void-packages/srcpkgs/oath-toolkit/template

27 lines
779 B
Bash

# Template file for 'oath-toolkit'
pkgname=oath-toolkit
version=2.6.6
revision=1
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.0-or-later"
homepage="http://www.nongnu.org/oath-toolkit/"
distfiles="http://download.savannah.gnu.org/releases/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=fd68b315c71ba1db47bcc6e67f598568db4131afc33abd23ed682170e3cb946c
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
}
}