blob: fb2de05ad718443ea6a0f5b030c14c71f541ce9d (
plain)
1 # Description: Perl library version
2 # URL: http://search.cpan.org/~jpeacock/
3 # Maintainer: Simon Gloßner, viper at hometux dot de
4 # Packager: Simon Gloßner, viper at hometux dot de
5
6 name=p5-version
7 version=0.76
8 release=1
9 source=(http://search.cpan.org/CPAN/authors/id/J/JP/JPEACOCK/version-$version.tar.gz)
10
11 build() {
12 cd version-$version
13
14 perl Makefile.PL
15 make OPTIMIZE="$CFLAGS"
16 make DESTDIR=$PKG install
17
18 find $PKG \
19 -name .packlist -or \
20 -name perllocal.pod -or \
21 -name '*.bs' -or \
22 -name autosplit.ix | xargs rm
23 find $PKG -depth -empty -exec rm -rf {} \;
24 }
|