mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
benchmark, bump version (#2613)
This commit is contained in:
committed by
waddlesplash
parent
1f68698a7f
commit
679e19db11
@@ -5,22 +5,26 @@ COPYRIGHT="2015-2017 Google Benchmark developers"
|
||||
LICENSE="Apache v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/google/benchmark/archive/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="3dcc90c158838e2ac4a7ad06af9e28eb5877cf28252a81e55eb3c836757d3070"
|
||||
CHECKSUM_SHA256="f8e525db3c42efc9c7f3bc5176a8fa893a9a9920bbd08cef30fb56a51854d60d"
|
||||
SOURCE_FILENAME="benchmark-$portVersion.tar.gz"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 ?x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="?x86"
|
||||
SECONDARY_ARCHITECTURES="!x86"
|
||||
|
||||
PROVIDES="
|
||||
benchmark$secondaryArchSuffix = $portVersion
|
||||
lib:libbenchmark$secondaryArchSuffix = $portVersion
|
||||
lib:libbenchmark$secondaryArchSuffix = 0.0.0 compat >= 0
|
||||
lib:libbenchmark_main$secondaryArchSuffix = 0.0.0 compat >= 0
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
gtest$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
benchmark${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libbenchmark$secondaryArchSuffix
|
||||
devel:libbenchmark$secondaryArchSuffix = 0.0.0 compat >= 0
|
||||
devel:libbenchmark_main$secondaryArchSuffix = 0.0.0 compat >= 0
|
||||
"
|
||||
REQUIRES_devel="
|
||||
benchmark$secondaryArchSuffix == $portVersion base
|
||||
@@ -28,14 +32,20 @@ REQUIRES_devel="
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
gtest${secondaryArchSuffix}_devel
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
"
|
||||
|
||||
defineDebugInfoPackage benchmark$secondaryArchSuffix \
|
||||
"$libDir"/libbenchmark.so.0.0.0 \
|
||||
"$libDir"/libbenchmark_main.so.0.0.0
|
||||
|
||||
BUILD()
|
||||
{
|
||||
mkdir -p build && cd build
|
||||
@@ -56,7 +66,8 @@ INSTALL()
|
||||
mv $prefix/include/* $includeDir/
|
||||
rm -rf $prefix/include/
|
||||
|
||||
prepareInstalledDevelLibs libbenchmark
|
||||
prepareInstalledDevelLibs libbenchmark libbenchmark_main
|
||||
fixPkgconfig
|
||||
|
||||
# devel package
|
||||
packageEntries devel \
|
||||
Reference in New Issue
Block a user