wine: updated to 1.1.21
[namenlos-ports.git] / p5-xml-libxml / Pkgfile
blob3130b02a048518c1741e139ace6ab51f7a35a510
1 # Maintainer: Richard Pöttler, richard dot poettler at gmail dot com
2 # Description: Perl Binding for libxml2
3 # URL: http://search.cpan.org/~pajas/XML-LibXML/LibXML.pod
4 # Depends on: libxml2 p5-xml-sax p5-xml-libxml-common p5-xml-namespacesupport
6 name=p5-xml-libxml
7 version=1.69
8 release=2
9 source=(http://www.cpan.org/modules/by-module/XML/XML-LibXML-$version.tar.gz)
11 build () {
12         cd XML-LibXML-$version
13         export SKIP_SAX_INSTALL=1
14         perl Makefile.PL
15         make OPTIMIZE="$CFLAGS"
16         make DESTDIR=$PKG install
17         find ${PKG} -name perllocal.pod -delete
18         find ${PKG} -name .packlist -delete
19         find $PKG -type d -empty -delete