milis/talimatname/genel/p/perl-xml-sax/talimat

28 lines
683 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Tanım: XML için basit API
# URL: http://search.cpan.org/dist/XML-SAX
# Paketçi: milisarge
# Gerekler: perl-xml-namespacesupport perl-xml-sax-base
# Grup: sistem
isim=perl-xml-sax
surum=0.99
devir=1
kaynak=(
http://www.cpan.org/authors/id/G/GR/GRANTM/XML-SAX-$surum.tar.gz
perl-xml-sax.patch)
derle() {
cd XML-SAX-$surum
patch -Np1 -i ../perl-xml-sax.patch || exit 1
perl Makefile.PL
make OPTIMIZE="$CFLAGS" || exit 1
make test
make install INSTALLDIRS=vendor DESTDIR=$PKG || exit 1
# Remove perllocal.pod and .packlist if present in the package
for i in perllocal.pod .packlist; do
find $PKG -name "$i" -exec rm -rf {} \;
done
}