summaryrefslogtreecommitdiff
path: root/cpan2cruxPorts/p5-xml-simple/Pkgfile
blob: f47702b05cd1af0d7bd5f9341217ee275726882f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Description: Perl module to easily read/write XML.
# URL: http://search.cpan.org/~grantm/XML-Simple-2.20/
# Maintainer: Erich Eckner, crux at eckner dot net
# Packager: Alan Mizrahi, alan at mizrahi dot com dot ve

name=p5-xml-simple
version=2.25
release=4
source=(http://search.cpan.org/CPAN/authors/id/G/GR/GRANTM/XML-Simple-$version.tar.gz)

build() {
	cd XML-Simple-$version
	perl Makefile.PL
	make OPTIMIZE="$CFLAGS"
	make DESTDIR="$PKG" install
	find "$PKG" \( -name perllocal.pod -o -name .packlist \) -delete
	find "$PKG" -depth -type d -empty -delete
}