talimat 841 B

1234567891011121314151617181920212223242526272829
  1. # Tanım: Bu yardımcı program, bir Makefile'den bir uzantı modülü için bir Makefile yazmak üzere tasarlanmıştır.
  2. # URL: http://search.cpan.org/~bingos/ExtUtils-MakeMaker-6.98/lib/ExtUtils/MakeMaker.pm
  3. # Paketçi: milisarge
  4. # Gerekler:
  5. # Grup: sistem
  6. isim=perl-extutils-makemaker
  7. surum=6.98
  8. devir=1
  9. kaynak=(http://search.cpan.org/CPAN/authors/id/B/BI/BINGOS/ExtUtils-MakeMaker-$surum.tar.gz)
  10. derle() {
  11. cd ExtUtils-MakeMaker-$surum
  12. perl Makefile.PL
  13. make OPTIMIZE="$CFLAGS" || exit 1
  14. make test
  15. make install INSTALLDIRS=vendor DESTDIR=$PKG || exit 1
  16. # Remove duplicated man pages
  17. rm -r $PKG/usr/share/man
  18. # Remove perllocal.pod and .packlist if present in the package
  19. for i in perllocal.pod .packlist; do
  20. find $PKG -name "$i" -exec rm -rf {} \;
  21. done
  22. rm $PKG/usr/bin/instmodsh
  23. }