milis/talimatname/genel/p/perl-path-class/talimat

28 lines
650 B
Plaintext
Raw Normal View History

2018-06-09 00:06:58 +02:00
# Tanım: Çapraz platform yol belirtimi manipülasyonu
# URL: http://search.cpan.org/
# Paketçi: milisarge
# Gerekler:
isim=perl-path-class
surum=0.33
devir=1
kaynak=(http://search.cpan.org/CPAN/authors/id/K/KW/KWILLIAMS/Path-Class-$surum.tar.gz)
derle() {
export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
PERL_AUTOINSTALL=--skipdeps \
PERL_MM_OPT="INSTALLDIRS=vendor" \
PERL_MB_OPT="--installdirs vendor" \
MODULEBUILDRC=/dev/null
cd Path-Class-$surum
perl Makefile.PL
make
make DESTDIR=$PKG install
find $PKG \
-name '*.bs' -or \
-name .packlist -or \
-name perllocal.pod | xargs rm
}