35 lines
1018 B
Bash
35 lines
1018 B
Bash
# Template file for 'ykclient'
|
|
pkgname=ykclient
|
|
version=2.15
|
|
revision=2
|
|
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-2-Clause"
|
|
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
|
|
}
|
|
}
|