milis/talimatname/genel/p/perl-devel-leak/talimat

29 lines
893 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: Geri kazanılmayan perl nesneleri aramak için yardımcı program.
# URL: https://metacpan.org/pod/Devel::Leak
# Paketçi: alihan-ozturk28@hotmail.com
# Gerekler:
# Grup: sistem
isim=perl-devel-leak
surum=0.03
devir=1
kaynak=( https://cpan.metacpan.org/authors/id/N/NI/NI-S/Devel-Leak-$surum.tar.gz)
derle() {
export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
PERL_AUTOINSTALL=--skipdeps \
PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \
PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
MODULEBUILDRC=/dev/null
cd Devel-Leak-$surum
perl Makefile.PL
make OPTIMIZE="$CFLAGS" || exit 1
make install INSTALLDIRS=vendor DESTDIR=$PKG || exit 1
# Remove perllocal.pod and .packlist if present in the package
for i in perllocal.pod .packlist; do
find $PKG -name "$i" -exec rm -rf {} \;
done
}