43 lines
1.1 KiB
Bash
43 lines
1.1 KiB
Bash
# Template file for 'ykneomgr'
|
|
pkgname=ykneomgr
|
|
version=0.1.8
|
|
revision=3
|
|
wrksrc="libykneomgr-${version}"
|
|
build_style=gnu-configure
|
|
hostmakedepends="automake libtool pkg-config gengetopt help2man"
|
|
makedepends="pcsclite-devel libzip-devel zlib-devel"
|
|
short_desc="Yubikey NEO Manager"
|
|
maintainer="Orphaned <orphan@voidlinux.eu>"
|
|
license="LGPL-3"
|
|
homepage="https://developers.yubico.com/libykneomgr/"
|
|
distfiles="https://developers.yubico.com/libykneomgr/Releases/libykneomgr-${version}.tar.gz"
|
|
checksum=2749ef299a1772818e63c0ff5276f18f1694f9de2137176a087902403e5df889
|
|
|
|
post_extract() {
|
|
# don't rebuild the man page - breaks cross build
|
|
sed -i '/^ykneomgr.1/,$d' src/Makefile.am
|
|
}
|
|
|
|
pre_configure() {
|
|
autoreconf -fi
|
|
}
|
|
|
|
libykneomgr_package() {
|
|
short_desc+=" - shared library"
|
|
pkg_install() {
|
|
vmove usr/lib/libykneomgr.so.*
|
|
}
|
|
}
|
|
|
|
libykneomgr-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="libykneomgr>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/libykneomgr.a
|
|
vmove usr/lib/libykneomgr.so
|
|
vmove usr/lib/pkgconfig
|
|
vmove usr/share/gtk-doc
|
|
}
|
|
}
|