blob: 4b4549d30d8c1008aae42aaa24b58401e5592a13 (
plain)
1 # Description: Perl XML writer.
2 # URL: https://metacpan.org/release/XML-Writer
3 # Maintainer: Danny Rawlins, crux at romster dot me
4
5 name=p5-xml-writer
6 version=0.900
7 release=1
8 source=(http://www.cpan.org/modules/by-module/XML/XML-Writer-$version.tar.gz)
9
10 build() {
11 cd XML-Writer-$version
12
13 perl Makefile.PL
14 make OPTIMIZE="$CFLAGS"
15 make install DESTDIR=$PKG
16
17 # Remove perlcrap
18 find $PKG -type f \( \
19 -name '.packlist' -o \
20 -name '*.bs' -o \
21 -name 'autosplit.ix' -o \
22 -name 'perllocal.pod' \) -delete
23
24 # Remove empty directories
25 find $PKG -depth -empty -delete
26 }
|