New package: pkcs11-helper-1.22

Closes: #10210 [via git-merge-pr]
This commit is contained in:
Aloz1 2017-12-27 08:02:38 +11:00 committed by Jürgen Buchmüller
parent c139faa3f1
commit 1792a520fe
5 changed files with 51 additions and 0 deletions

View File

@ -3006,3 +3006,4 @@ libr_anal.so radare2-2.1.0_1
libkdeconnectpluginkcm.so.1 kdeconnect-1.2_1
libkdeconnectinterfaces.so.1 kdeconnect-1.2_1
libkdeconnectcore.so.1 kdeconnect-1.2_1
libpkcs11-helper.so.1 pkcs11-helper-1.22_1

1
srcpkgs/pkcs11-helper-devel Symbolic link
View File

@ -0,0 +1 @@
pkcs11-helper

1
srcpkgs/pkcs11-helper-doc Symbolic link
View File

@ -0,0 +1 @@
pkcs11-helper

View File

@ -0,0 +1,46 @@
# Template file for 'pkcs11-helper'
pkgname=pkcs11-helper
version=1.22
revision=1
build_style=gnu-configure
configure_args="--enable-doc"
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, BSD"
homepage="https://github.com/OpenSC/${pkgname}/wiki"
distfiles="https://github.com/OpenSC/${pkgname}/archive/${pkgname}-${version}.tar.gz"
checksum=b1f290585d006541c186e72dd66cc8d642e910dcca1958cae29168dea5ada54f
wrksrc=${pkgname}-${pkgname}-${version}
pre_configure() {
autoreconf -fi
}
post_install() {
vlicense COPYING
vlicense COPYING.GPL
vlicense COPYING.BSD
}
pkcs11-helper-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove "usr/include"
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove "usr/lib/*.la"
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"
}
}

View File

@ -0,0 +1,2 @@
site="https://github.com/OpenSC/pkcs11-helper/releases"
pattern="<span[^>]*>${pkgname}-\K[\d\.]+(?=<\/span>)"