26 lines
624 B
Plaintext
26 lines
624 B
Plaintext
|
# Description: Perl library Class::Std
|
|||
|
# URL: http://search.cpan.org/~dconway/
|
|||
|
# Maintainer: Simon Glo<6C>ner, viper at hometux dot de
|
|||
|
# Packager: Simon Glo<6C>ner, viper at hometux dot de
|
|||
|
# Depends on: p5-version
|
|||
|
|
|||
|
name=p5-class-std
|
|||
|
version=0.0.8
|
|||
|
release=1
|
|||
|
source=(http://search.cpan.org/CPAN/authors/id/D/DC/DCONWAY/Class-Std-v$version.tar.gz)
|
|||
|
|
|||
|
build() {
|
|||
|
cd Class-Std-v$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 {} \;
|
|||
|
}
|