2017-10-27 20:46:27 +02:00
|
|
|
|
# Tanım: Perl Carp modülü
|
2017-03-27 23:20:24 +02:00
|
|
|
|
# URL: http://search.cpan.org/dist/Carp-Always
|
2017-10-27 20:46:27 +02:00
|
|
|
|
# Paketçi: milisarge
|
|
|
|
|
# Gerekler:
|
2017-03-27 23:20:24 +02:00
|
|
|
|
|
|
|
|
|
name=perl-carp-always
|
|
|
|
|
version=0.13
|
|
|
|
|
release=1
|
|
|
|
|
source=(http://search.cpan.org/CPAN/authors/id/F/FE/FERREIRA/Carp-Always-0.13.tar.gz)
|
|
|
|
|
|
2017-10-27 23:59:41 +02:00
|
|
|
|
derle() {
|
2017-03-27 23:20:24 +02:00
|
|
|
|
_distdir="Carp-Always-0.13"
|
|
|
|
|
|
|
|
|
|
export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
|
|
|
|
|
PERL_AUTOINSTALL=--skipdeps \
|
|
|
|
|
PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$PKG'" \
|
|
|
|
|
PERL_MB_OPT="--installdirs vendor --destdir '$PKG'" \
|
|
|
|
|
MODULEBUILDRC=/dev/null
|
|
|
|
|
|
|
|
|
|
cd "$SRC/$_distdir"
|
|
|
|
|
/usr/bin/perl Makefile.PL
|
|
|
|
|
make
|
|
|
|
|
export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
|
|
|
|
|
make DESTDIR=${PKG} install
|
|
|
|
|
find "$PKG" -name .packlist -o -name perllocal.pod -delete
|
|
|
|
|
}
|