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:
|
2018-07-31 08:58:36 +02:00
|
|
|
|
# Grup: sistem
|
2018-06-09 00:06:58 +02:00
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
}
|