app-cdr/iat: drop commandSuffix, simplify PROVIDES.

This commit is contained in:
fbrosson
2018-09-28 02:59:38 +00:00
parent b86fc1b042
commit fed84ccd82

View File

@@ -9,19 +9,19 @@ SOURCE_URI="https://downloads.sourceforge.net/iat.berlios/iat-$portVersion.tar.b
CHECKSUM_SHA256="fb72c42f4be18107ec1bff8448bd6fac2a3926a574d4950a4d5120f0012d62ca"
ARCHITECTURES="?x86_gcc2 x86 x86_64"
if [ "$targetArchitecture" = x86_gcc2 ]; then
SECONDARY_ARCHITECTURES="x86"
fi
# On x86_gcc2 we don't want to install the commands in bin/<arch>/, but in bin/.
commandSuffix=$secondaryArchSuffix
commandBinDir=$binDir
if [ "$targetArchitecture" = x86_gcc2 ]; then
commandSuffix=
commandBinDir=$prefix/bin
fi
PROVIDES="
iat$secondaryArchSuffix = $portVersion
cmd:iat$commandSuffix = $portVersion
cmd:iat = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix