Merge pull request #3460 from ebfe/ykneomgr

New package: ykneomgr-0.1.8
This commit is contained in:
Juan RP 2016-01-26 07:37:27 +01:00
commit d7bfaddc8b
4 changed files with 45 additions and 0 deletions

View file

@ -2328,3 +2328,4 @@ libftdi1.so.2 libftdi1-1.2_1
libax25.so.0 libax25-0.0.12rc4_1
libax25io.so.0 libax25-0.0.12rc4_1
libmill.so.12 libmill-1.4_1
libykneomgr.so.0 libykneomgr-0.1.8_1

1
srcpkgs/libykneomgr Symbolic link
View file

@ -0,0 +1 @@
ykneomgr

1
srcpkgs/libykneomgr-devel Symbolic link
View file

@ -0,0 +1 @@
ykneomgr

42
srcpkgs/ykneomgr/template Normal file
View file

@ -0,0 +1,42 @@
# Template file for 'ykneomgr'
pkgname=ykneomgr
version=0.1.8
revision=2
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="Michael Gehring <mg@ebfe.org>"
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
}
}