29 lines
665 B
Plaintext
29 lines
665 B
Plaintext
# 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
|
||
}
|