mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
app-arch/lzip: drop commandSuffix, simplify PROVIDES.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user