diff --git a/dev-util/xdelta/xdelta-3.1.0.recipe b/dev-util/xdelta/xdelta-3.1.0.recipe index d71ccb338..022ba154a 100644 --- a/dev-util/xdelta/xdelta-3.1.0.recipe +++ b/dev-util/xdelta/xdelta-3.1.0.recipe @@ -7,20 +7,22 @@ LICENSE="Apache v2" REVISION="2" SOURCE_URI="https://github.com/jmacd/xdelta/archive/v$portVersion.tar.gz" CHECKSUM_SHA256="7515cf5378fca287a57f4e2fee1094aabc79569cfe60d91e06021a8fd7bae29d" +SOURCE_FILENAME="xdelta-$portVersion.tar.gz" SOURCE_DIR="xdelta-$portVersion/xdelta3" 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=" xdelta$secondaryArchSuffix = $portVersion - cmd:xdelta3 = $portVersion + cmd:xdelta3$commandSuffix = $portVersion " REQUIRES=" haiku$secondaryArchSuffix