talimat 665 B

1234567891011121314151617181920212223242526272829
  1. # Tanım: Çapraz platform yol belirtimi manipülasyonu
  2. # URL: http://search.cpan.org/
  3. # Paketçi: milisarge
  4. # Gerekler:
  5. # Grup: sistem
  6. isim=perl-path-class
  7. surum=0.33
  8. devir=1
  9. kaynak=(http://search.cpan.org/CPAN/authors/id/K/KW/KWILLIAMS/Path-Class-$surum.tar.gz)
  10. derle() {
  11. export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
  12. PERL_AUTOINSTALL=--skipdeps \
  13. PERL_MM_OPT="INSTALLDIRS=vendor" \
  14. PERL_MB_OPT="--installdirs vendor" \
  15. MODULEBUILDRC=/dev/null
  16. cd Path-Class-$surum
  17. perl Makefile.PL
  18. make
  19. make DESTDIR=$PKG install
  20. find $PKG \
  21. -name '*.bs' -or \
  22. -name .packlist -or \
  23. -name perllocal.pod | xargs rm
  24. }