mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 15:08:57 +02:00
pigz: bump version.
This commit is contained in:
62
app-arch/pigz/pigz-2.3.4.recipe
Normal file
62
app-arch/pigz/pigz-2.3.4.recipe
Normal file
@@ -0,0 +1,62 @@
|
||||
SUMMARY="A parallel implementation of gzip for multi-processor machines"
|
||||
DESCRIPTION="
|
||||
pigz, which stands for Parallel Implementation of GZip, is a fully functional \
|
||||
replacement for gzip that exploits multiple processors and multiple cores to \
|
||||
the hilt when compressing data.
|
||||
|
||||
pigz was written by Mark Adler, and uses the zlib and pthread libraries.
|
||||
|
||||
This version of pigz is written to be portable across Unix-style operating \
|
||||
systems that provide the zlib and pthread libraries."
|
||||
HOMEPAGE="http://www.zlib.net/pigz"
|
||||
COPYRIGHT="2008-2013 Mark Adler"
|
||||
LICENSE="Zlib"
|
||||
REVISION="1"
|
||||
SOURCE_URI="http://www.zlib.net/pigz/pigz-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="6f031fa40bc15b1d80d502ff91f83ba14f4b079e886bfb83221374f7bf5c8f9a"
|
||||
|
||||
ARCHITECTURES="x86 ?x86_gcc2 x86_64"
|
||||
|
||||
PROVIDES="
|
||||
pigz = $portVersion
|
||||
cmd:pigz = $portVersion
|
||||
cmd:unpigz = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku
|
||||
lib:libz
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel
|
||||
devel:libz
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:make
|
||||
cmd:gcc
|
||||
"
|
||||
|
||||
PATCH()
|
||||
{
|
||||
sed -i 's/-lm//g' Makefile
|
||||
sed -i 's/-lpthread//g' Makefile
|
||||
sed -i 's/ln -f/ln -sf/g' Makefile
|
||||
}
|
||||
|
||||
BUILD()
|
||||
{
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
mkdir -p $binDir
|
||||
cp -af pigz unpigz $binDir
|
||||
mkdir -p $manDir/man1
|
||||
cp -af pigz.1 $manDir/man1
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
make test
|
||||
}
|
||||
Reference in New Issue
Block a user