New package: ykclient-2.15

This commit is contained in:
crater2150 2016-12-02 16:19:28 +01:00 committed by lemmi
parent c6e9a12dc1
commit fc02971235
3 changed files with 37 additions and 0 deletions

View File

@ -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

1
srcpkgs/ykclient-devel Symbolic link
View File

@ -0,0 +1 @@
ykclient/

34
srcpkgs/ykclient/template Normal file
View File

@ -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 <void@qwertyuiop.de>"
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
}
}