void-packages/srcpkgs/libu2f-server/template

35 lines
1,003 B
Bash
Raw Normal View History

2015-10-29 19:28:25 +00:00
# Template file for 'libu2f-server'
pkgname=libu2f-server
version=1.0.1
2016-03-25 21:35:43 +00:00
revision=2
2015-10-29 19:28:25 +00:00
wrksrc="${pkgname}-${pkgname}-${version}"
build_style=gnu-configure
configure_args="--enable-gtk-doc-html=no"
hostmakedepends="automake libtool pkg-config gengetopt check"
makedepends="json-c-devel hidapi-devel libressl-devel check-devel"
short_desc="Yubico Universal 2nd Factor (U2F) Server C Library"
maintainer="Michael Aldridge <aldridge.mac@gmail.com>"
license="BSD"
homepage="https://developers.yubico.com/libu2f-server/"
distfiles="https://github.com/Yubico/libu2f-server/archive/libu2f-server-${version}.tar.gz"
checksum="d87405ab7b271c3f674d64af8c878fdbf74d3b1d76b09de000c0d2cda5b44828"
pre_configure() {
autoreconf -fi
}
post_install() {
vlicense COPYING LICENSE
}
libu2f-server-devel_package() {
short_desc+=" - development files"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.a
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
}
}