mpg321: add commandSuffix. (#2690)

This commit is contained in:
fbrosson
2018-06-16 03:33:50 +00:00
parent 2bef3c3801
commit ec69bbc09e

View File

@@ -13,17 +13,18 @@ SOURCE_DIR="mpg321-$portVersion-orig"
PATCHES="mpg321-$portVersion.patchset"
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="
mpg321$secondaryArchSuffix = $portVersion
cmd:mpg321 = $portVersion
cmd:mpg321$commandSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix