blob: db66afed9ce42a0b8e726c24c0e8cb2669e3ba4b (
plain)
1 # Description: An API for simple XML files
2 # URL: https://metacpan.org/release/XML-Simple
3 # Maintainer: Matt Housh, jaeger at crux dot ninja
4
5 name=p5-xml-simple
6 version=2.25
7 release=2
8 source=(http://search.cpan.org/CPAN/authors/id/G/GR/GRANTM/XML-Simple-$version.tar.gz)
9
10 build() {
11 cd XML-Simple-$version
12
13 perl Makefile.PL
14 make OPTIMIZE="$CFLAGS"
15 make install DESTDIR=$PKG
16
17 find $PKG -type f \( \
18 -name '.packlist' -o \
19 -name '*.bs' -o \
20 -name 'autosplit.ix' -o \
21 -name 'perllocal.pod' \) -delete
22
23 find $PKG -depth -empty -delete
24 }
|