2017-04-11 08:46:31 +02:00
|
|
|
|
# Description: Temel sınıf SAX Sürücüleri ve Filtreleri
|
|
|
|
|
# URL: http://search.cpan.org/dist/XML-SAX-Base
|
|
|
|
|
# Packager: milisarge
|
|
|
|
|
# Depends on: perl
|
|
|
|
|
|
2016-02-24 01:27:23 +01:00
|
|
|
|
name=perl-xml-sax-base
|
|
|
|
|
version=1.08
|
|
|
|
|
release=1
|
|
|
|
|
|
|
|
|
|
source=(
|
|
|
|
|
http://www.cpan.org/authors/id/G/GR/GRANTM/XML-SAX-Base-$version.tar.gz)
|
|
|
|
|
|
|
|
|
|
build() {
|
|
|
|
|
cd XML-SAX-Base-$version
|
|
|
|
|
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
|
|
|
|
|
}
|