2008-05-28 14:01:38 +02:00
|
|
|
# Description: Perl library Readonly
|
|
|
|
# URL: http://search.cpan.org/~roode/
|
2009-12-07 13:01:04 +01:00
|
|
|
# Maintainer: Simon Glossner, viper at hometux dot de
|
|
|
|
# Packager: Simon Glossner, viper at hometux dot de
|
2008-05-28 14:01:38 +02:00
|
|
|
|
|
|
|
name=p5-readonly
|
|
|
|
version=1.03
|
|
|
|
release=1
|
|
|
|
source=(http://search.cpan.org/CPAN/authors/id/R/RO/ROODE/Readonly-$version.tar.gz)
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd Readonly-$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 {} \;
|
|
|
|
}
|