blob: ed1b181d4583e073ed6f0c598ba1db56545edc11 (
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=3
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
}
|