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

28 lines
650 B
Plaintext
Raw Normal View History

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