mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 14:38:51 +02:00
lz4: bump version.
This commit is contained in:
70
app-arch/lz4/lz4-r130.recipe
Normal file
70
app-arch/lz4/lz4-r130.recipe
Normal file
@@ -0,0 +1,70 @@
|
||||
SUMMARY="lz4 data compression utilities and libraries"
|
||||
DESCRIPTION="
|
||||
LZ4 is a very fast lossless compression algorithm, providing compression speed \
|
||||
at 400 MB/s per core, scalable with multi-cores CPU. It also features an \
|
||||
extremely fast decoder, with speed in multiple GB/s per core, typically \
|
||||
reaching RAM speed limits on multi-core systems.
|
||||
"
|
||||
HOMEPAGE="https://code.google.com/p/lz4/"
|
||||
LICENSE="BSD (2-clause)"
|
||||
COPYRIGHT="2011-2014, Yann Collet"
|
||||
SRC_URI="https://github.com/Cyan4973/lz4/archive/$portVersion.tar.gz"
|
||||
SRC_FILENAME="lz4-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="c48450d27524c2e5856997133e059e3cf9909241110a6e21ad278890ac425afc"
|
||||
REVISION="1"
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86 x86_gcc2"
|
||||
|
||||
PATCHES="lz4-$portVersion.patchset"
|
||||
|
||||
PROVIDES="
|
||||
lz4${secondaryArchSuffix} = $portVersion
|
||||
lib:liblz4${secondaryArchSuffix} = 1.7.0 compat >= 1
|
||||
"
|
||||
|
||||
if [ -z "$secondaryArchSuffix" ]; then
|
||||
PROVIDES="$PROVIDES
|
||||
cmd:lz4 = $portVersion
|
||||
cmd:lz4c = $portVersion
|
||||
cmd:lz4cat = $portVersion
|
||||
"
|
||||
fi
|
||||
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix >= $haikuVersion
|
||||
"
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel >= $haikuVersion
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:ar
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:make
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
make $jobArgs all
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install LIBDIR=$libDir INCLUDEDIR=$includeDir \
|
||||
BINDIR=$binDir MANDIR=$manDir/man1
|
||||
prepareInstalledDevelLibs liblz4
|
||||
fixPkgconfig
|
||||
|
||||
packageEntries devel \
|
||||
$developDir
|
||||
}
|
||||
|
||||
# ----- devel package -------------------------------------------------------
|
||||
|
||||
PROVIDES_devel="
|
||||
lz4${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:liblz4$secondaryArchSuffix = 1.7.0 compat >= 1
|
||||
"
|
||||
REQUIRES_devel="
|
||||
lz4${secondaryArchSuffix} == $portVersion base
|
||||
"
|
||||
Reference in New Issue
Block a user