mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
sys-fs/ddrescue: drop commandSuffix, simplify PROVIDES.
This commit is contained in:
@@ -12,19 +12,20 @@ COPYRIGHT="
|
||||
LICENSE="GNU GPL v2"
|
||||
|
||||
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="
|
||||
ddrescue$secondaryArchSuffix = $portVersion
|
||||
cmd:ddrescue$commandSuffix = $portVersion
|
||||
cmd:ddrescuelog$commandSuffix = $portVersion
|
||||
cmd:ddrescue = $portVersion
|
||||
cmd:ddrescuelog = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
|
||||
Reference in New Issue
Block a user