blob: aa203992df3aef99895f7bf73dd215fc2848db48 (
plain) (
tree)
|
|
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=pigz
pkgver=2.6
pkgrel=0
pkgdesc="Parallel implementation of gzip"
url="http://zlib.net/pigz/"
arch="all"
license="zlib"
depends=""
makedepends="zlib-dev"
subpackages="$pkgname-doc"
source="http://zlib.net/pigz/pigz-$pkgver.tar.gz"
build() {
export CXXFLAGS="$CXXFLAGS -std=gnu++98"
make
}
check() {
make tests
}
package() {
mkdir -p "$pkgdir"/usr/bin
mkdir -p "$pkgdir"/usr/share/man/man1
for i in pigz unpigz; do
install -m755 $i "$pkgdir"/usr/bin
done
install -m644 pigz.1 "$pkgdir"/usr/share/man/man1
}
sha512sums="04d2e44bc7a7eb061c3c48100ce5b8fc79931aeac72340abd768fd2a4499ff1004e2bc009772fc2003a4c599f6e90f3abc8bef5c377d6397f1c8e9f7c49f95e2 pigz-2.6.tar.gz"
|