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

29 lines
665 B
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Tanım: Çapraz platform yol belirtimi manipülasyonu
# URL: http://search.cpan.org/
# Paketçi: milisarge
# Gerekler:
# Grup: sistem
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
}