2017-10-27 20:46:27 +02:00
|
|
|
|
# Tanım: XML için basit API
|
2017-04-11 08:47:45 +02:00
|
|
|
|
# URL: http://search.cpan.org/dist/XML-SAX
|
2017-10-27 20:46:27 +02:00
|
|
|
|
# Paketçi: milisarge
|
|
|
|
|
# Gerekler: perl-xml-namespacesupport perl-xml-sax-base
|
2017-04-11 08:47:45 +02:00
|
|
|
|
|
2017-10-28 14:10:23 +02:00
|
|
|
|
isim=perl-xml-sax
|
|
|
|
|
surum=0.99
|
|
|
|
|
devir=1
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
2017-10-28 14:10:23 +02:00
|
|
|
|
kaynak=(
|
|
|
|
|
http://www.cpan.org/authors/id/G/GR/GRANTM/XML-SAX-$surum.tar.gz
|
2016-02-24 01:27:23 +01:00
|
|
|
|
perl-xml-sax.patch)
|
|
|
|
|
|
2017-10-27 23:59:41 +02:00
|
|
|
|
derle() {
|
2017-10-28 14:10:23 +02:00
|
|
|
|
cd XML-SAX-$surum
|
2016-02-24 01:27:23 +01:00
|
|
|
|
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
|
|
|
|
|
}
|