summaryrefslogtreecommitdiffstats
path: root/extra/p5-xml-parser/Pkgfile
blob: 7e30dd66f4283ea5ce7e86f69e7d5eb9ffafa004 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Description: Module perl pour le traitement des documents xml
# URL: http://search.cpan.org/dist/XML-Parser/
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on:expat
# Run on:expat

name=p5-xml-parser
version=2.41
release=2
source=(http://search.cpan.org/CPAN/authors/id/T/TO/TODDR/XML-Parser-$version.tar.gz)


build() {
	cd XML-Parser-$version
        perl Makefile.PL
	make OPTIMIZE="$CFLAGS"
	make DESTDIR=$PKG install
	find $PKG -name .packlist -o -name perllocal.pod -exec rm '{}' \; 
}