void-packages/srcpkgs/opensc/template
Juan RP 1c5f4690e6 xbps-src: always require current srcpkgs version in build dependencies.
That means that version comparators are not supported anymore in
hostmakedepends and makedepends.

This will ensure that a pkg is always built with the same build dependencies
everywhere, if the srcpkgs tree is uptodate.
2015-03-27 10:59:58 +01:00

36 lines
1 KiB
Bash

# Template file for 'opensc'
pkgname=opensc
version=0.14.0
revision=3
build_style=gnu-configure
configure_args="--enable-man --enable-sm --enable-static=no --enable-doc
--with-xsl-stylesheetsdir=/usr/share/xsl/docbook"
hostmakedepends="automake libtool pkg-config docbook-xsl libxslt"
makedepends="readline-devel pcsclite-devel libressl-devel zlib-devel"
conf_files="/etc/opensc.conf"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="https://github.com/OpenSC/OpenSC/wiki"
license="LGPL-2.1"
short_desc="Tools and libraries for smart cards"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=facdca215f74d999b286ae246ada8d8fcb97ce58f0a6dd30d8b1c180101e9bf0
pre_configure() {
autoreconf -fi
}
opensc-pkcs11_package() {
short_desc+=" - pkcs11 library"
pkg_install() {
vmove "usr/lib/pkcs11"
vmove "usr/lib/opensc-pkcs11*"
vmove "usr/lib/pkcs11-spy.so"
}
}
libopensc_package() {
short_desc+=" - library files"
pkg_install() {
vmove "usr/lib/libopensc.so*"
vmove "usr/lib/libsmm-local.so*"
}
}