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