forked from ports/contrib
26 lines
688 B
Plaintext
26 lines
688 B
Plaintext
# Description: Perl library Class::Std for creating standard "inside-out" classes
|
|
# URL: http://search.cpan.org/dist/Class-Std
|
|
# Packager: Simon Glossner, viper at hometux dot de
|
|
# Maintainer: Moritz Wilhelmy, moritz plus crux at wzff dot de
|
|
# Depends on: perl
|
|
|
|
name=p5-class-std
|
|
version=0.011
|
|
release=1
|
|
source=(http://search.cpan.org/CPAN/authors/id/D/DC/DCONWAY/Class-Std-$version.tar.gz)
|
|
|
|
build() {
|
|
cd Class-Std-$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 {} \;
|
|
}
|