capstone: Fix lib versions.

This commit is contained in:
Augustin Cavalier
2020-03-14 18:29:41 -04:00
parent e5531d267f
commit d7fc9988e0

View File

@@ -16,7 +16,7 @@ various X86 malware tricks)."
HOMEPAGE="http://www.capstone-engine.org"
COPYRIGHT="2013-2019, COSEINC"
LICENSE="BSD (3-clause)"
REVISION="1"
REVISION="2"
SOURCE_URI="https://github.com/aquynh/capstone/archive/$portVersion.tar.gz"
CHECKSUM_SHA256="79bbea8dbe466bd7d051e037db5961fdb34f67c9fac5c3471dd105cfb1e05dc7"
srcGitRev="b01a30bf595c23081d0acfbcbe36fc8c6d829a71"
@@ -31,7 +31,7 @@ SECONDARY_ARCHITECTURES="x86"
PROVIDES="
capstone$secondaryArchSuffix = $portVersion
cmd:cstool$secondaryArchSuffix = $portVersion
lib:libcapstone$secondaryArchSuffix = 4
lib:libcapstone$secondaryArchSuffix = 0.4 compat >= 0.4
"
REQUIRES="
haiku$secondaryArchSuffix
@@ -39,7 +39,7 @@ REQUIRES="
PROVIDES_devel="
capstone${secondaryArchSuffix}_devel = $portVersion
devel:libcapstone$secondaryArchSuffix = 4
devel:libcapstone$secondaryArchSuffix = 0.4 compat >= 0.4
"
REQUIRES_devel="
capstone$secondaryArchSuffix == $portVersion base
@@ -88,4 +88,4 @@ TEST()
unzip -o -q $sourceDir2/capstonefuzz-$srcGitRev/corpus/$filename.zip -d suite/fuzz
fi
make check
}
}