forked from ports/contrib
26 lines
642 B
Plaintext
26 lines
642 B
Plaintext
|
# Description: Perl library Config::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-class-std, p5-version
|
|||
|
|
|||
|
name=p5-config-std
|
|||
|
version=0.0.4
|
|||
|
release=1
|
|||
|
source=(http://search.cpan.org/CPAN/authors/id/D/DC/DCONWAY/Config-Std-v$version.tar.gz)
|
|||
|
|
|||
|
build() {
|
|||
|
cd Config-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 {} \;
|
|||
|
}
|