void-packages/srcpkgs/oath-toolkit/template
Peter Bui d7cae96b21 oath-toolkit: fix build issues for gcc 7 #10780
This adds a patch based on https://git.io/vNniS that updates intprops.h
(there are three copies of basically the same file).

Closes: #10791 [via git-merge-pr]
2018-01-14 11:14:17 +01:00

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