35 lines
1003 B
Bash
35 lines
1003 B
Bash
# Template file for 'libu2f-server'
|
|
pkgname=libu2f-server
|
|
version=1.0.1
|
|
revision=4
|
|
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
|
|
}
|
|
}
|