Files
haikuports/app-arch/snappy/snappy-1.1.4.recipe
fbrosson 5d0b28971c snappy: bump to 1.1.4.
* DESCRIPTION: Add missing white space and move another one.
* BUILD_PREREQUIRES: add $secondaryArchSuffix to cmd:libtoolize
  and add cmd:{aclocal,autoconf,autoheader,automake}.
2017-02-01 13:53:11 +00:00

69 lines
1.6 KiB
Bash

SUMMARY="A fast compressor/decompressor"
DESCRIPTION="Snappy is a compression/decompression library. It does not aim \
for maximum compression, or compatibility with any other compression library; \
instead, it aims for very high speeds and reasonable compression. For instance, \
compared to the fastest mode of zlib, Snappy is an order of magnitude faster \
for most inputs, but the resulting compressed files are anywhere from 20% to \
100% bigger."
HOMEPAGE="https://google.github.io/snappy/"
COPYRIGHT="2005-2017 Google Inc"
LICENSE="BSD (3-clause)"
REVISION="1"
SOURCE_URI="https://github.com/google/snappy/releases/download/$portVersion/snappy-$portVersion.tar.gz"
CHECKSUM_SHA256="134bfe122fd25599bb807bb8130e7ba6d9bdb851e0b16efcb83ac4f5d0b70057"
ARCHITECTURES="!x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
snappy$secondaryArchSuffix = $portVersion compat >= 1
lib:libsnappy$secondaryArchSuffix = 1.3.1 compat >= 1
"
REQUIRES="
haiku$secondaryArchSuffix
"
PROVIDES_devel="
snappy${secondaryArchSuffix}_devel = $portVersion compat >= 1
devel:libsnappy$secondaryArchSuffix = 1.3.1 compat >= 1
"
REQUIRES_devel="
snappy$secondaryArchSuffix == $portVersion base
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
"
BUILD_PREREQUIRES="
cmd:aclocal
cmd:autoconf
cmd:autoheader
cmd:automake
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:libtoolize$secondaryArchSuffix
cmd:make
"
BUILD()
{
runConfigure ./configure
make $jobArgs
}
INSTALL()
{
make install
rm $libDir/libsnappy.la
prepareInstalledDevelLib libsnappy
packageEntries devel \
$developDir
}
TEST()
{
make check
}