app-arch/lzip: drop commandSuffix, simplify PROVIDES.

This commit is contained in:
fbrosson
2018-09-28 02:59:36 +00:00
parent cd4d6851cf
commit 3eba8d39e8

View File

@@ -30,19 +30,19 @@ SOURCE_URI="https://download.savannah.gnu.org/releases/lzip/lzip-$portVersion.ta
CHECKSUM_SHA256="c93b81a5a7788ef5812423d311345ba5d3bd4f5ebf1f693911e3a13553c1290c"
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="
lzip$secondaryArchSuffix = $portVersion
cmd:lzip$commandSuffix = $portVersion
cmd:lzip = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix