blob: 6735a568af9e773455ab5a30d01b485b25272b22 (
plain)
1 # Description: Perl XML writer.
2 # URL: http://search.cpan.org/~josephw/XML-Writer-0.604/
3 # Maintainer: Danny Rawlins, monster dot romster at gmail dot com
4 # Packager: Han Boetes han at mijncomputer dot nl
5 # Depends on: perl
6
7 name=p5-xml-writer
8 version=0.604
9 release=1
10 source=(http://www.cpan.org/modules/by-module/XML/XML-Writer-$version.tar.gz)
11
12 build() {
13 cd XML-Writer-$version
14
15 perl Makefile.PL
16 make OPTIMIZE="$CFLAGS"
17 make install DESTDIR=$PKG
18
19 # Remove perlcrap
20 find $PKG -type f \
21 \( -name '.packlist' -or \
22 -name '*.bs' -or \
23 -name 'autosplit.ix' -or \
24 -name 'perllocal.pod' \) -delete
25
26 # Remove empty directories
27 find $PKG -depth -empty -exec rm -rf {} \;
28 }
|