mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
libopenmpt: add commandSuffix. (#2690)
This commit is contained in:
@@ -11,18 +11,19 @@ CHECKSUM_SHA256="a6a7e6da1ae66e1cf46985ee92c182e50652d71b96135e9fa6048e132d84475
|
||||
SOURCE_DIR="libopenmpt-${portVersion%~*}-autotools"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="!x86_gcc2 x86"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
if [ "$targetArchitecture" != x86_gcc2 ]; then
|
||||
commandBinDir=$binDir
|
||||
else
|
||||
commandSuffix=$secondaryArchSuffix
|
||||
commandBinDir=$binDir
|
||||
if [ "$targetArchitecture" = x86_gcc2 ]; then
|
||||
commandSuffix=
|
||||
commandBinDir=$prefix/bin
|
||||
fi
|
||||
|
||||
PROVIDES="
|
||||
libopenmpt$secondaryArchSuffix = $portVersion
|
||||
lib:libopenmpt$secondaryArchSuffix = 0.0.20 compat >= 0
|
||||
cmd:openmpt123 = $portVersion
|
||||
cmd:openmpt123$commandSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
|
||||
Reference in New Issue
Block a user