New Package: perl-pcsc Perl wrappe to PC/SC Lite
Hope it is packages right, it's my first attemt to package a perl module. Regards carlo
This commit is contained in:
parent
2096df0ab4
commit
01e28fa7df
1 changed files with 24 additions and 0 deletions
24
srcpkgs/perl-pcsc/template
Normal file
24
srcpkgs/perl-pcsc/template
Normal file
|
@ -0,0 +1,24 @@
|
|||
# Template build file for 'perl-pcsc'.
|
||||
pkgname=perl-pcsc
|
||||
version=1.4.13
|
||||
revision=1
|
||||
_origname="pcsc-perl"
|
||||
wrksrc="${_origname}-${version}"
|
||||
build_style=perl-module
|
||||
hostmakedepends="pkg-config perl>=5.18"
|
||||
makedepends="${hostmakedepends} pcsclite-devel"
|
||||
depends="${makedepends}"
|
||||
short_desc="Perl wrapper to the PC/SC smartcard library (pcsc-lite)"
|
||||
maintainer="Carlo Dormeletti <carlo.dormeletti@email.it>"
|
||||
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
|
||||
}
|
Loading…
Reference in a new issue