blob: 0f8ea3a0b7061fe3e8d7e01abc3a19c13f1e29b6 (
plain) (
blame)
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
32
33
|
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=pigz
pkgver=2.4
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="79b2357176f93b9f3e2bc07fee393fc4d79b7bd0041808f8ddfd23eafccde72e60ca95e97595bb624a4f732fe3612bf46d57c44541c36ae62f9aa6336abe16ba pigz-2.4.tar.gz"
|