void-packages/srcpkgs/pcsclite/template
Juan RP d3bc0de1e7 xbps-src: get rid of etc/{defaults.,}virtual.
It wasn't too useful after all and this slowed down the dependency
process marginally.

We don't need this, we can live without this.
2016-03-22 10:39:45 +01:00

37 lines
1 KiB
Bash

# Template file for 'pcsclite'
pkgname=pcsclite
version=1.8.16
revision=1
wrksrc="pcsc-lite-${version}"
build_style=gnu-configure
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="https://alioth.debian.org/projects/pcsclite"
license="2-clause-BSD"
short_desc="Middleware to access a smart card using SCard API (PC/SC)"
configure_args="--enable-libudev --sbindir=/usr/bin"
hostmakedepends="intltool pkg-config python"
makedepends="eudev-libudev-devel libusb-devel python-devel"
depends="python"
distfiles="https://alioth.debian.org/frs/download.php/file/4164/pcsc-lite-${version}.tar.bz2"
checksum=e7d08aa38897e86fdf632d56ac70663a3a9add3c0bf4031dc32e783f19c0688a
post_install() {
vsv pcscd
}
pcsclite-devel_package() {
short_desc+=" - development files"
depends="libpcsclite>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.la"
vmove "usr/lib/*.so"
}
}
libpcsclite_package() {
short_desc+=" - library files"
pkg_install() {
vmove "usr/lib/*.so.*"
}
}