talimat 615 B

12345678910111213141516171819202122232425
  1. # Description: Temel sınıf SAX Sürücüleri ve Filtreleri
  2. # URL: http://search.cpan.org/dist/XML-SAX-Base
  3. # Packager: milisarge
  4. # Depends on:
  5. name=perl-xml-sax-base
  6. version=1.08
  7. release=1
  8. source=(
  9. http://www.cpan.org/authors/id/G/GR/GRANTM/XML-SAX-Base-$version.tar.gz)
  10. build() {
  11. cd XML-SAX-Base-$version
  12. perl Makefile.PL
  13. make OPTIMIZE="$CFLAGS" || exit 1
  14. make test
  15. make install INSTALLDIRS=vendor DESTDIR=$PKG || exit 1
  16. # Remove perllocal.pod and .packlist if present in the package
  17. for i in perllocal.pod .packlist; do
  18. find $PKG -name "$i" -exec rm -rf {} \;
  19. done
  20. }