2014-05-20 07:38:27 +00:00
|
|
|
# Template build file for 'perl-pcsc'.
|
|
|
|
pkgname=perl-pcsc
|
|
|
|
version=1.4.13
|
2015-06-22 18:15:32 +00:00
|
|
|
revision=5
|
2014-05-20 07:38:27 +00:00
|
|
|
_origname="pcsc-perl"
|
|
|
|
wrksrc="${_origname}-${version}"
|
|
|
|
build_style=perl-module
|
2015-03-27 09:50:40 +00:00
|
|
|
hostmakedepends="pkg-config perl"
|
2014-05-20 07:38:27 +00:00
|
|
|
makedepends="${hostmakedepends} pcsclite-devel"
|
2014-09-25 08:58:39 +00:00
|
|
|
depends="perl>=5.20 libpcsclite"
|
2014-05-20 07:38:27 +00:00
|
|
|
short_desc="Perl wrapper to the PC/SC smartcard library (pcsc-lite)"
|
2014-10-27 17:05:31 +00:00
|
|
|
maintainer="Carlo Dormeletti <carloDOTdormelettiATaliceDOTit>"
|
2014-05-20 07:38:27 +00:00
|
|
|
homepage="http://ludovic.rousseau.free.fr/softwares/pcsc-perl/index.html"
|
|
|
|
license="GPL-2"
|
|
|
|
distfiles="http://ludovic.rousseau.free.fr/softwares/${_origname}/${_origname}-${version}.tar.bz2"
|
|
|
|
checksum=a5f7dfb30be0346cfe80d47749994dab861592929d80786104693987b36e3684
|
|
|
|
|
|
|
|
do_install(){
|
|
|
|
make install DESTDIR=${DESTDIR}
|
|
|
|
vinstall README 644 usr/share/doc/${pkgname}
|
|
|
|
vinstall Changelog 644 usr/share/doc/${pkgname}
|
|
|
|
cp -R ${wrksrc}/examples ${DESTDIR}/usr/share/doc/${pkgname}
|
|
|
|
vinstall test.pl 644 usr/share/doc/${pkgname}/examples
|
|
|
|
}
|