talimat 683 B

12345678910111213141516171819202122232425262728
  1. # Tanım: XML için basit API
  2. # URL: http://search.cpan.org/dist/XML-SAX
  3. # Paketçi: milisarge
  4. # Gerekler: perl-xml-namespacesupport perl-xml-sax-base
  5. # Grup: sistem
  6. isim=perl-xml-sax
  7. surum=0.99
  8. devir=1
  9. kaynak=(
  10. http://www.cpan.org/authors/id/G/GR/GRANTM/XML-SAX-$surum.tar.gz
  11. perl-xml-sax.patch)
  12. derle() {
  13. cd XML-SAX-$surum
  14. patch -Np1 -i ../perl-xml-sax.patch || exit 1
  15. perl Makefile.PL
  16. make OPTIMIZE="$CFLAGS" || exit 1
  17. make test
  18. make install INSTALLDIRS=vendor DESTDIR=$PKG || exit 1
  19. # Remove perllocal.pod and .packlist if present in the package
  20. for i in perllocal.pod .packlist; do
  21. find $PKG -name "$i" -exec rm -rf {} \;
  22. done
  23. }