milis/talimatname/genel/p/perl-json-maybexs/talimat

30 lines
899 B
Plaintext
Raw 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: Bu modül önce Cpanel::JSON::XS veya JSON::XS'in yüklü olup olmadığını kontrol eder, bu durumda bu modülü kullanır.
# URL: https://metacpan.org/release/JSON-MaybeXS
# Paketçi: milisarge
# Gerekler:
# Grup: sistem
isim=perl-json-maybexs
surum=1.003008
devir=1
kaynak=(http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/JSON-MaybeXS-$surum.tar.gz)
derle() {
_distdir="JSON-MaybeXS-$surum"
( 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
)
cd "$SRC/$_distdir"
export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
make test
cd "$SRC/$_distdir"
make install
find "$PKG" -name .packlist -o -name perllocal.pod -delete
}