39 lines
912 B
Bash
39 lines
912 B
Bash
|
# Template file for 'libyubikey'
|
||
|
pkgname=libyubikey
|
||
|
version=1.13
|
||
|
revision=1
|
||
|
build_style=gnu-configure
|
||
|
configure_args="--disable-static --disable-silent-rules"
|
||
|
hostmakedepends="automake libtool"
|
||
|
short_desc="Yubico YubiKey authentication device C SDK"
|
||
|
maintainer="yopito <pierre.bourgin@free.fr>"
|
||
|
license="BSD"
|
||
|
homepage="https://developers.yubico.com/yubico-c"
|
||
|
distfiles="https://developers.yubico.com/yubico-c/releases/${pkgname}-${version}.tar.gz"
|
||
|
checksum=04edd0eb09cb665a05d808c58e1985f25bb7c5254d2849f36a0658ffc51c3401
|
||
|
|
||
|
pre_configure() {
|
||
|
autoreconf -fi
|
||
|
}
|
||
|
|
||
|
post_install() {
|
||
|
vlicense COPYING LICENSE
|
||
|
}
|
||
|
|
||
|
libyubikey-utils_package() {
|
||
|
short_desc+=" - utilities"
|
||
|
pkg_install() {
|
||
|
vdoc README
|
||
|
vmove usr/bin
|
||
|
vmove usr/share/man
|
||
|
}
|
||
|
}
|
||
|
libyubikey-devel_package() {
|
||
|
short_desc+=" - development files"
|
||
|
depends="${sourcepkg}-${version}_${revision}"
|
||
|
pkg_install() {
|
||
|
vmove usr/include
|
||
|
vmove usr/lib/*.so
|
||
|
}
|
||
|
}
|