lz5: remove recipe.

This commit is contained in:
Jérôme Duval
2017-11-06 09:24:51 +01:00
committed by GitHub
parent 18599a0da2
commit b205ae0ca0

View File

@@ -1,80 +0,0 @@
SUMMARY="An efficient compressor with very fast decompression"
DESCRIPTION="LZ5 is a lossless compression algorithm which contains 4 \
compression methods:
fastLZ4 : compression levels -10...-19 are designed to give better \
decompression speed than LZ4 i.e. over 2000 MB/s
LZ5v2 : compression levels -20...-29 are designed to give better ratio than \
LZ4 keeping 75% decompression speed
fastLZ4 + Huffman : compression levels -30...-39 add Huffman coding to fastLZ4
LZ5v2 + Huffman : compression levels -40...-49 give the best ratio (comparable\
to zlib and low levels of zstd/brotli) at decompression speed of 1000 MB/s."
HOMEPAGE="https://github.com/inikep/lz5/"
COPYRIGHT="2011-2016, Yann Collet
2015-2016, Przemyslaw Skibinski"
LICENSE="BSD (2-clause)"
REVISION="3"
SOURCE_URI="$HOMEPAGE/archive/v$portVersion.tar.gz"
SOURCE_FILENAME="lz5-$portVersion.tar.gz"
CHECKSUM_SHA256="85456b7274c9f0e477ff8e3f06dbc2f8ee8619d737a73c730c8a1adacb45f6da"
PATCHES="lz5-$portVersion.patchset"
SOURCE_DIR="lizard-$portVersion"
ARCHITECTURES="?x86_gcc2 ?x86 x86_64"
SECONDARY_ARCHITECTURES="?x86 ?x86_gcc2"
PROVIDES="
lz5${secondaryArchSuffix} = $portVersion
lib:liblz5${secondaryArchSuffix} = 2.0.0 compat >= 2
"
if [ -z "$secondaryArchSuffix" ]; then
PROVIDES="$PROVIDES
cmd:lz5 = $portVersion
cmd:lz5cat = $portVersion
cmd:unlz5 = $portVersion
"
fi
REQUIRES="
haiku$secondaryArchSuffix
"
PROVIDES_devel="
lz5${secondaryArchSuffix}_devel = $portVersion
devel:liblz5$secondaryArchSuffix = 2.0.0 compat >= 2
"
REQUIRES_devel="
lz5${secondaryArchSuffix} == $portVersion base
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
"
BUILD_PREREQUIRES="
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:make
"
BUILD()
{
make -j1 all
}
INSTALL()
{
make install LIBDIR=$libDir INCLUDEDIR=$includeDir \
BINDIR=$binDir MANDIR=$manDir/man1
if [ -n "$secondaryArchSuffix" ]; then
rm $binDir/lz5
rm $binDir/lz5cat
rm $binDir/unlz5
fi
prepareInstalledDevelLib liblz5
fixPkgconfig
packageEntries devel \
$developDir
}