diff --git a/common/shlibs b/common/shlibs index eb4542f2f65..9f43d1f4a19 100644 --- a/common/shlibs +++ b/common/shlibs @@ -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 diff --git a/srcpkgs/libykneomgr b/srcpkgs/libykneomgr new file mode 120000 index 00000000000..45f6a588369 --- /dev/null +++ b/srcpkgs/libykneomgr @@ -0,0 +1 @@ +ykneomgr \ No newline at end of file diff --git a/srcpkgs/libykneomgr-devel b/srcpkgs/libykneomgr-devel new file mode 120000 index 00000000000..45f6a588369 --- /dev/null +++ b/srcpkgs/libykneomgr-devel @@ -0,0 +1 @@ +ykneomgr \ No newline at end of file diff --git a/srcpkgs/ykneomgr/template b/srcpkgs/ykneomgr/template new file mode 100644 index 00000000000..fd9e9a7be00 --- /dev/null +++ b/srcpkgs/ykneomgr/template @@ -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 " +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 + } +}