summaryrefslogtreecommitdiffstats
path: root/extra/p5-xml-parser/Pkgfile
blob: dfc7d4af483790cff6d7e9338ac6b6e2f50affa6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Description: Perl extension interface to James Clark's XML parser
# URL: http://search.cpan.org/~msergeant/XML-Parser-2.36/
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: expat

name=p5-xml-parser
version=2.40
release=1
source=( http://search.cpan.org/CPAN/authors/id/C/CH/CHORNY/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 '{}' \; 
}