milis/talimatname/genel/perl-xml-namespacesupport/talimat

29 lines
770 B
Plaintext
Raw Normal View History

2016-02-24 01:27:23 +01:00
# Description: Generic namespace helpers (ported from SAX2)
# URL: URL: http://search.cpan.org/dist/XML-NamespaceSupport
# NuTyX package info file (http://nutyx.org)
# Packager: # NuTyX package info file (http://nutyx.org)
# Depends on:
run=( perl )
name=perl-xml-namespacesupport
version=1.11
release=1
source=(
http://www.cpan.org/authors/id/P/PE/PERIGRIN/XML-NamespaceSupport-$version.tar.gz)
build() {
cd XML-NamespaceSupport-$version
perl Makefile.PL
make OPTIMIZE="$CFLAGS" || exit 1
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
}
# NuTyX Pkgfile (http://nutyx.org)