talimat 726 B

12345678910111213141516171819202122232425262728
  1. # Tanım: Perl Carp modülü
  2. # URL: http://search.cpan.org/dist/Carp
  3. # Paketçi: milisarge
  4. # Gerekler:
  5. # Grup: sistem
  6. isim=perl-carp
  7. surum=1.38
  8. devir=1
  9. kaynak=(http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Carp-1.38.tar.gz)
  10. derle() {
  11. _distdir="Carp-1.38"
  12. export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
  13. PERL_AUTOINSTALL=--skipdeps \
  14. PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$PKG'" \
  15. PERL_MB_OPT="--installdirs vendor --destdir '$PKG'" \
  16. MODULEBUILDRC=/dev/null
  17. cd "$SRC/$_distdir"
  18. /usr/bin/perl Makefile.PL
  19. make
  20. export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
  21. make DESTDIR=${PKG} install
  22. find "$PKG" -name .packlist -o -name perllocal.pod -delete
  23. }