0
0
Fork 0
haikuports/dev-cpp/sparsehash/sparsehash-2.0.4.recipe

60 lines
1.2 KiB
Bash
Raw Permalink Normal View History

SUMMARY="C++ associative containers"
DESCRIPTION="The Google SparseHash project contains several hash-map \
implementations in use at Google, with different performance characteristics, \
including an implementation that optimizes for space and one that optimizes \
for speed."
2016-02-09 19:52:02 +00:00
HOMEPAGE="https://github.com/sparsehash/sparsehash/"
COPYRIGHT="2005-2010 Google"
LICENSE="BSD (3-clause)"
2021-04-02 18:28:01 +00:00
REVISION="1"
2016-02-09 19:52:02 +00:00
SOURCE_URI="https://github.com/sparsehash/sparsehash/archive/sparsehash-$portVersion.tar.gz"
2021-04-02 18:28:01 +00:00
CHECKSUM_SHA256="8cd1a95827dfd8270927894eb77f62b4087735cbede953884647f16c521c7e58"
2016-02-09 19:52:02 +00:00
SOURCE_DIR="sparsehash-sparsehash-$portVersion"
2016-02-17 19:26:37 +00:00
PATCHES="sparsehash-$portVersion.patchset"
ARCHITECTURES="all !x86_gcc2"
2021-04-02 18:28:01 +00:00
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
2015-11-28 12:19:24 +00:00
sparsehash$secondaryArchSuffix = $portVersion compat >= 2
"
REQUIRES="
haiku$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
"
BUILD_PREREQUIRES="
cmd:aclocal
cmd:autoconf
cmd:automake
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:libtoolize
cmd:make
2016-02-29 01:17:42 +00:00
"
BUILD()
{
autoreconf -fi
runConfigure ./configure
make $jobArgs
}
INSTALL()
{
make install
mkdir -p $docDir
fixPkgconfig
mv $prefix/share/doc/sparsehash*/* $docDir
rm -rf $prefix/share
}
TEST()
{
make check
}