perl-carp.paketlendi
This commit is contained in:
parent
5052ad675b
commit
3a53b39182
1 changed files with 26 additions and 0 deletions
26
talimatname/genel/perl-carp/talimat
Normal file
26
talimatname/genel/perl-carp/talimat
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
# Description: Perl Carp modülü
|
||||||
|
# URL: http://search.cpan.org/dist/Carp
|
||||||
|
# Packager : milisarge
|
||||||
|
# Depends on:
|
||||||
|
|
||||||
|
name=perl-carp
|
||||||
|
version=1.38
|
||||||
|
release=1
|
||||||
|
source=(http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Carp-1.38.tar.gz)
|
||||||
|
|
||||||
|
build() {
|
||||||
|
_distdir="Carp-1.38"
|
||||||
|
|
||||||
|
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
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue