forked from ports/contrib
29 lines
631 B
Plaintext
29 lines
631 B
Plaintext
# Description: Perl XML-Twig Library.
|
|
# URL: http://xmltwig.com/xmltwig/
|
|
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
|
|
# Packager: James Mills, prologic at shortcircuit dot net dot au
|
|
# Depends on:
|
|
|
|
name=p5-xml-twig
|
|
version=3.33
|
|
release=1
|
|
source=(http://xmltwig.com/xmltwig/XML-Twig-$version.tar.gz)
|
|
|
|
build() {
|
|
cd XML-Twig-$version
|
|
yes | perl Makefile.PL PREFIX=$PKG/usr
|
|
make
|
|
make install
|
|
|
|
# Remove perlcrap
|
|
find $PKG -type f \( \
|
|
-name '.packlist' -o \
|
|
-name '*.bs' -o \
|
|
-name 'autosplit.ix' -o \
|
|
-name 'perllocal.pod' \) -delete
|
|
|
|
# Remove empty directories
|
|
find $PKG -depth -empty -delete
|
|
}
|
|
|