diff --git a/sci-libs/librsb/librsb-1.2.0.9.recipe b/sci-libs/librsb/librsb-1.2.0.9.recipe index ca0d6adf7..590f3facb 100644 --- a/sci-libs/librsb/librsb-1.2.0.9.recipe +++ b/sci-libs/librsb/librsb-1.2.0.9.recipe @@ -10,7 +10,7 @@ and transposed multiplication variants." HOMEPAGE="https://sourceforge.net/projects/librsb/" COPYRIGHT="2008-2020 Michele Martone" LICENSE="GNU LGPL v3" -REVISION="1" +REVISION="2" SOURCE_URI="https://downloads.sourceforge.net/librsb/librsb-${portVersion/\~/-}.tar.gz" CHECKSUM_SHA256="f421f5d572461601120933e3c1cfee2ca69e6ecc92cbb11baa4e86bdedd3d9fa" SOURCE_DIR="librsb-${portVersion/\~/-}" @@ -19,12 +19,19 @@ PATCHES="librsb-$portVersion.patchset" ARCHITECTURES="!x86_gcc2 x86 x86_64" SECONDARY_ARCHITECTURES="x86" +commandSuffix=$secondaryArchSuffix +commandBinDir=$binDir +if [ "$targetArchitecture" = x86_gcc2 ]; then + commandSuffix= + commandBinDir=$prefix/bin +fi + libVersion="0.0.0" libVersionCompat="$libVersion compat >= ${libVersion%%.*}" PROVIDES=" librsb$secondaryArchSuffix = $portVersion - cmd:rsbench + cmd:rsbench$commandSuffix lib:librsb$secondaryArchSuffix = $libVersionCompat " REQUIRES=" @@ -36,7 +43,7 @@ REQUIRES=" PROVIDES_devel=" librsb${secondaryArchSuffix}_devel = $portVersion - cmd:librsb_config + cmd:librsb_config$commandSuffix devel:librsb$secondaryArchSuffix = $libVersionCompat " REQUIRES_devel=" @@ -64,7 +71,8 @@ defineDebugInfoPackage librsb$secondaryArchSuffix \ BUILD() { - runConfigure ./configure \ + runConfigure --omit-dirs binDir ./configure \ + --bindir="$commandBinDir" \ --with-zlib \ --enable-pkg-config-install