23 lines
600 B
Plaintext
23 lines
600 B
Plaintext
# Description: Interface to Bzip2 compression library
|
|
# URL: https://metacpan.org/release/Compress-Bzip2
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
|
# Depends on: bzip2
|
|
|
|
name=p5-compress-bzip2
|
|
_realname=Compress-Bzip2
|
|
_author=RURBAN
|
|
version=2.28
|
|
release=1
|
|
source=(https://cpan.metacpan.org/authors/id/${_author::1}/${_author::2}/$_author/$_realname-$version.tar.gz)
|
|
|
|
build() {
|
|
cd $_realname-$version
|
|
|
|
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
|
|
make
|
|
make DESTDIR="$PKG" install
|
|
|
|
find $PKG \( -name '.packlist' -o -name '*.pod' \) -delete
|
|
find $PKG -depth -empty -delete
|
|
}
|