void-packages/srcpkgs/oath-toolkit/template

27 lines
801 B
Bash

# Template file for 'oath-toolkit'
pkgname=oath-toolkit
version=2.6.7
revision=2
build_style=gnu-configure
hostmakedepends="pkg-config libxml2"
makedepends="pam-devel libxml2-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=36eddfce8f2f36347fb257dbf878ba0303a2eaafe24eaa071d5cd302261046a9
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
}
}