summaryrefslogtreecommitdiff
path: root/cpan2cruxPorts/p5-xml-simple/Pkgfile
blob: 6b09697ee7e78fad56fef183e885f1fb8a7461f2 (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=5
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
}