void-packages/srcpkgs/libu2f-host/template

31 lines
973 B
Bash
Raw Normal View History

2016-02-16 06:42:53 +00:00
# Template file for 'libu2f-host'
2015-10-22 07:15:37 +00:00
pkgname=libu2f-host
2016-06-23 05:04:31 +00:00
version=1.1.2
revision=1
2015-10-22 07:15:37 +00:00
wrksrc="${pkgname}-${pkgname}-${version}"
build_style=gnu-configure
configure_args="--with-openssl=yes --with-udevrulesdir=/usr/lib/udev/rules.d"
hostmakedepends="automake libtool pkg-config gengetopt"
makedepends="json-c-devel hidapi-devel libressl-devel"
2016-02-16 06:42:53 +00:00
short_desc="C library and tool that implements the host-side of the U2F protocol"
2015-10-22 07:15:37 +00:00
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="LGPL-2.1"
homepage="https://developers.yubico.com/libu2f-host/"
distfiles="https://github.com/Yubico/libu2f-host/archive/libu2f-host-${version}.tar.gz"
2016-06-23 05:04:31 +00:00
checksum=ec9683cff3f2ee8721b91d83f1108368e18fac27e240d90a3a481a98c0ec63e8
2015-10-22 07:15:37 +00:00
pre_configure() {
autoreconf -fi
}
libu2f-host-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
}
}