From fc029712358fd82df7c04f8bd34aa5c7ebe9d9ed Mon Sep 17 00:00:00 2001 From: crater2150 Date: Fri, 2 Dec 2016 16:19:28 +0100 Subject: [PATCH] New package: ykclient-2.15 --- common/shlibs | 2 ++ srcpkgs/ykclient-devel | 1 + srcpkgs/ykclient/template | 34 ++++++++++++++++++++++++++++++++++ 3 files changed, 37 insertions(+) create mode 120000 srcpkgs/ykclient-devel create mode 100644 srcpkgs/ykclient/template diff --git a/common/shlibs b/common/shlibs index 2731d144f0c..7f7206b9d2c 100644 --- a/common/shlibs +++ b/common/shlibs @@ -2838,3 +2838,5 @@ libmuthreads.so.1.11 libmupdf-1.11_4 libprotobuf-lite.so.14 protobuf-lite-3.4.0_1 libprotoc.so.14 protobuf-3.4.0_1 libprotobuf.so.14 protobuf-3.4.0_1 +libite.so.3 libite-1.8.2_1 +libykclient.so.3 ykclient-2.15_1 diff --git a/srcpkgs/ykclient-devel b/srcpkgs/ykclient-devel new file mode 120000 index 00000000000..091d5752db6 --- /dev/null +++ b/srcpkgs/ykclient-devel @@ -0,0 +1 @@ +ykclient/ \ No newline at end of file diff --git a/srcpkgs/ykclient/template b/srcpkgs/ykclient/template new file mode 100644 index 00000000000..a79bb4f0f55 --- /dev/null +++ b/srcpkgs/ykclient/template @@ -0,0 +1,34 @@ +# Template file for 'ykclient' +pkgname=ykclient +version=2.15 +revision=1 +build_style=gnu-configure +configure_args="--disable-static --disable-silent-rules" +hostmakedepends="automake libtool pkg-config" +makedepends="libcurl-devel" +short_desc="Yubico YubiKey OTP C client and library" +maintainer="Alexander Gehrke " +license="BSD" +homepage="https://developers.yubico.com/yubico-c-client" +distfiles="https://developers.yubico.com/yubico-c-client/releases/${pkgname}-${version}.tar.gz" +checksum=f461cdefe7955d58bbd09d0eb7a15b36cb3576b88adbd68008f40ea978ea5016 + +pre_configure() { + # disable manpage generation, as it breaks crosscompiling + # and the generated manpage is included in the dist anyway + sed -i -e '/^ykclient\.1/,/--no-info/ s/^/#/' Makefile.am + autoreconf -fi +} + +post_install() { + vlicense COPYING LICENSE +} + +ykclient-devel_package() { + short_desc+=" - development files" + depends="${sourcepkg}-${version}_${revision}" + pkg_install() { + vmove usr/include + vmove usr/lib/*.so + } +}