mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-21 19:20:08 +02:00
sparsehash: bump version
This commit is contained in:
59
dev-cpp/sparsehash/sparsehash-2.0.4.recipe
Normal file
59
dev-cpp/sparsehash/sparsehash-2.0.4.recipe
Normal file
@@ -0,0 +1,59 @@
|
||||
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."
|
||||
HOMEPAGE="https://github.com/sparsehash/sparsehash/"
|
||||
COPYRIGHT="2005-2010 Google"
|
||||
LICENSE="BSD (3-clause)"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/sparsehash/sparsehash/archive/sparsehash-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="8cd1a95827dfd8270927894eb77f62b4087735cbede953884647f16c521c7e58"
|
||||
SOURCE_DIR="sparsehash-sparsehash-$portVersion"
|
||||
PATCHES="sparsehash-$portVersion.patchset"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
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
|
||||
"
|
||||
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user