milis/talimatname/genel/p/pcsc-perl/talimat

25 lines
714 B
Plaintext
Raw Normal View History

2018-06-09 00:06:58 +02:00
# Tanım: Perl pcsc modülü
# URL: https://github.com/gitpan/pcsc-perl
# Paketçi: milisarge
# Gerekler: pcsc-lite
isim=pcsc-perl
surum=1.4.14
devir=1
kaynak=(http://ludovic.rousseau.free.fr/softwares/$isim/$isim-$surum.tar.bz2)
derle() {
export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
PERL_AUTOINSTALL=--skipdeps \
PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$PKG'" \
PERL_MB_OPT="--installdirs vendor --destdir '$PKG'" \
MODULEBUILDRC=/dev/null
cd "$isim-$surum"
/usr/bin/perl Makefile.PL
make
export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
make DESTDIR=${PKG} install
find "$PKG" -name .packlist -o -name perllocal.pod -delete
}