blob: 1e411ec4643f2b611124a10ebf078c43b2d880c6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Description: Module perl Compress Raw Zlib
# URL: http://search.cpan.org/search?query=Compress-Raw-Zlib
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: perl
name=p5-compress-raw-zlib
version=2.020
release=1
source=(http://cpan.org/authors/id/P/PM/PMQS/Compress-Raw-Zlib-$version.tar.gz )
build() {
cd Compress-Raw-Zlib-$version
perl Makefile.PL
make OPTIMIZE="$CFLAGS"
make DESTDIR=$PKG install
# Remove perlcrap
find $PKG \
\( -name '.packlist' -or \
-name '*.bs' -or \
-name 'autosplit.ix' -or \
-name 'perllocal.pod' \) -delete
# Remove empty directories
find $PKG -depth -empty -delete
}
|