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

26 lines
615 B
Plaintext
Raw Normal View History

2018-06-09 00:06:58 +02:00
# Tanım: Temel sınıf SAX Sürücüleri ve Filtreleri
# URL: http://search.cpan.org/dist/XML-SAX-Base
# Paketçi: milisarge
# Gerekler:
2018-07-31 09:40:16 +02:00
# Grup: sistem
2018-06-09 00:06:58 +02:00
isim=perl-xml-sax-base
surum=1.08
devir=1
kaynak=(
http://www.cpan.org/authors/id/G/GR/GRANTM/XML-SAX-Base-$surum.tar.gz)
derle() {
cd XML-SAX-Base-$surum
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
}