forked from ports/contrib
25 lines
620 B
Plaintext
25 lines
620 B
Plaintext
|
# Description: Perl library List::MoreUtils
|
|||
|
# URL: http://search.cpan.org/~vparseval/
|
|||
|
# Maintainer: Simon Glo<6C>ner, viper at hometux dot de
|
|||
|
# Packager: Simon Glo<6C>ner, viper at hometux dot de
|
|||
|
|
|||
|
name=p5-list-moreutils
|
|||
|
version=0.22
|
|||
|
release=1
|
|||
|
source=(http://search.cpan.org/CPAN/authors/id/V/VP/VPARSEVAL/List-MoreUtils-$version.tar.gz)
|
|||
|
|
|||
|
build() {
|
|||
|
cd List-MoreUtils-$version
|
|||
|
|
|||
|
perl Makefile.PL
|
|||
|
make OPTIMIZE="$CFLAGS"
|
|||
|
make DESTDIR=$PKG install
|
|||
|
|
|||
|
find $PKG \
|
|||
|
-name .packlist -or \
|
|||
|
-name perllocal.pod -or \
|
|||
|
-name '*.bs' -or \
|
|||
|
-name autosplit.ix | xargs rm
|
|||
|
find $PKG -depth -empty -exec rm -rf {} \;
|
|||
|
}
|