mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
libcpuid, fix libVersionCompat (#10460)
This commit is contained in:
@@ -10,7 +10,7 @@ As well as the full API reference:
|
||||
HOMEPAGE="http://libcpuid.sourceforge.net/"
|
||||
COPYRIGHT="2008 Veselin Georgiev"
|
||||
LICENSE="BSD (2-clause)"
|
||||
REVISION="1"
|
||||
REVISION="2"
|
||||
SOURCE_URI="https://github.com/anrieff/libcpuid/archive/refs/tags/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="4d106d66d211f2bfaf876eb62c84d4b54664e1c2b47eb6138161d3c608c0bc5e"
|
||||
SOURCE_FILENAME="libcpuid-$portVersion.tar.gz"
|
||||
@@ -26,10 +26,13 @@ if [ "$targetArchitecture" = x86_gcc2 ]; then
|
||||
commandBinDir=$prefix/bin
|
||||
fi
|
||||
|
||||
libVersion="16.0.5"
|
||||
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
||||
|
||||
PROVIDES="
|
||||
libcpuid$secondaryArchSuffix = $portVersion
|
||||
cmd:cpuid_tool$commandSuffix
|
||||
lib:libcpuid$secondaryArchSuffix = $portVersion
|
||||
lib:libcpuid$secondaryArchSuffix = $libVersionCompat
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
@@ -37,7 +40,7 @@ REQUIRES="
|
||||
|
||||
PROVIDES_devel="
|
||||
libcpuid${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libcpuid$secondaryArchSuffix = $portVersion
|
||||
devel:libcpuid$secondaryArchSuffix = $libVersionCompat
|
||||
"
|
||||
REQUIRES_devel="
|
||||
libcpuid$secondaryArchSuffix == $portVersion base
|
||||
|
||||
Reference in New Issue
Block a user