45 lines
1.1 KiB
Bash
45 lines
1.1 KiB
Bash
# Template file for 'pkcs11-helper'
|
|
pkgname=pkcs11-helper
|
|
version=1.24
|
|
revision=1
|
|
wrksrc="${pkgname}-${pkgname}-${version}"
|
|
build_style=gnu-configure
|
|
configure_args="--enable-doc --disable-static"
|
|
hostmakedepends="automake libtool pkg-config doxygen"
|
|
makedepends="libressl-devel"
|
|
short_desc="A library to help simplify interacting with PKCS#11 providers"
|
|
maintainer="Aloz1 <kno0001@gmail.com>"
|
|
license="GPL-2.0-only, BSD-3-Clause"
|
|
homepage="https://github.com/OpenSC/${pkgname}/wiki"
|
|
distfiles="https://github.com/OpenSC/${pkgname}/archive/${pkgname}-${version}.tar.gz"
|
|
checksum=f524977d2e49abc836460c556c03311855f5cfa79976102a1dbd553a002e3111
|
|
|
|
pre_configure() {
|
|
autoreconf -fi
|
|
}
|
|
|
|
post_install() {
|
|
vlicense COPYING
|
|
vlicense COPYING.GPL
|
|
vlicense COPYING.BSD
|
|
}
|
|
|
|
pkcs11-helper-devel_package() {
|
|
depends="${sourcepkg}-${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove "usr/lib/*.so"
|
|
vmove usr/lib/pkgconfig
|
|
vmove usr/share/aclocal
|
|
}
|
|
}
|
|
|
|
pkcs11-helper-doc_package() {
|
|
short_desc+=" - documentation files"
|
|
pkg_install() {
|
|
vmove usr/share/man
|
|
vmove usr/share/doc
|
|
}
|
|
}
|