talimat 767 B

123456789101112131415161718192021222324252627
  1. # Description: Perl Carp modülü
  2. # URL: http://search.cpan.org/dist/Carp-Always
  3. # Packager : milisarge
  4. # Depends on:
  5. name=perl-carp-always
  6. version=0.13
  7. release=1
  8. source=(http://search.cpan.org/CPAN/authors/id/F/FE/FERREIRA/Carp-Always-0.13.tar.gz)
  9. build() {
  10. _distdir="Carp-Always-0.13"
  11. export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
  12. PERL_AUTOINSTALL=--skipdeps \
  13. PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$PKG'" \
  14. PERL_MB_OPT="--installdirs vendor --destdir '$PKG'" \
  15. MODULEBUILDRC=/dev/null
  16. cd "$SRC/$_distdir"
  17. /usr/bin/perl Makefile.PL
  18. make
  19. export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
  20. make DESTDIR=${PKG} install
  21. find "$PKG" -name .packlist -o -name perllocal.pod -delete
  22. }