talimat 879 B

1234567891011121314151617181920212223242526272829303132
  1. # Description: 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. # Packager: milisarge
  4. # Depends on:
  5. name=perl-extutils-makemaker
  6. version=6.98
  7. release=1
  8. source=(http://search.cpan.org/CPAN/authors/id/B/BI/BINGOS/ExtUtils-MakeMaker-$version.tar.gz)
  9. build() {
  10. cd ExtUtils-MakeMaker-$version
  11. perl Makefile.PL
  12. make OPTIMIZE="$CFLAGS" || exit 1
  13. make test
  14. make install INSTALLDIRS=vendor DESTDIR=$PKG || exit 1
  15. # Remove duplicated man pages
  16. rm -r $PKG/usr/share/man
  17. # Remove perllocal.pod and .packlist if present in the package
  18. for i in perllocal.pod .packlist; do
  19. find $PKG -name "$i" -exec rm -rf {} \;
  20. done
  21. rm $PKG/usr/bin/instmodsh
  22. }
  23. # NuTyX Pkgfile (http://nutyx.org)