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

25 lines
714 B
Text
Raw Normal View History

2017-10-27 21:46:27 +03:00
# Tanım: Perl pcsc modülü
2017-06-28 10:57:48 +03:00
# URL: https://github.com/gitpan/pcsc-perl
2017-10-27 21:46:27 +03:00
# Paketçi: milisarge
# Gerekler: pcsc-lite
2017-06-28 10:57:48 +03:00
2017-10-28 15:10:23 +03:00
isim=pcsc-perl
surum=1.4.14
devir=1
kaynak=(http://ludovic.rousseau.free.fr/softwares/$isim/$isim-$surum.tar.bz2)
2017-06-28 10:57:48 +03:00
2017-10-28 00:59:41 +03:00
derle() {
2017-06-28 10:57:48 +03:00
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
2017-10-28 15:10:23 +03:00
cd "$isim-$surum"
2017-06-28 10:57:48 +03:00
/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
}