blob: c68baa2f2fb96919d58fa450050f968b08807ab4 (
plain)
1 # Description: Interface to Bzip2 compression library
2 # URL: https://metacpan.org/release/Compress-Bzip2
3 # Maintainer: Danny Rawlins, crux at romster dot me
4 # Depends on: bzip2
5
6 name=p5-compress-bzip2
7 _realname=Compress-Bzip2
8 _author=RURBAN
9 version=2.28
10 release=1
11 source=(https://cpan.metacpan.org/authors/id/${_author::1}/${_author::2}/$_author/$_realname-$version.tar.gz)
12
13 build() {
14 cd $_realname-$version
15
16 PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
17 make
18 make DESTDIR="$PKG" install
19
20 find $PKG \( -name '.packlist' -o -name '*.pod' \) -delete
21 find $PKG -depth -empty -delete
22 }
|