1
0
forked from ports/contrib

30 lines
665 B
Plaintext
Raw Normal View History

2008-04-11 16:01:29 +10:00
# Description: Perl XML writer.
# URL: http://search.cpan.org/~josephw/XML-Writer-0.604/
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
# Packager: Han Boetes han at mijncomputer dot nl
# Depends on:
2007-01-01 19:26:34 +10:00
name=p5-xml-writer
2008-04-11 16:01:29 +10:00
version=0.604
2007-01-01 19:26:34 +10:00
release=1
source=(http://www.cpan.org/modules/by-module/XML/XML-Writer-$version.tar.gz)
build() {
2008-04-11 16:01:29 +10:00
cd XML-Writer-$version
2007-01-01 19:26:34 +10:00
2008-04-11 16:01:29 +10:00
perl Makefile.PL
make OPTIMIZE="$CFLAGS"
make install DESTDIR=$PKG
2007-01-01 19:26:34 +10:00
2008-04-11 16:01:29 +10:00
# Remove perlcrap
2008-07-14 00:20:43 +10:00
find $PKG -type f \( \
-name '.packlist' -o \
-name '*.bs' -o \
-name 'autosplit.ix' -o \
2008-04-11 16:01:29 +10:00
-name 'perllocal.pod' \) -delete
2007-01-01 19:26:34 +10:00
2008-04-11 16:01:29 +10:00
# Remove empty directories
2008-07-14 00:20:43 +10:00
find $PKG -depth -empty -delete
2007-01-01 19:26:34 +10:00
}
2008-04-11 16:01:29 +10:00