mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
dev-libs/nsgenbind: drop commandSuffix, simplify PROVIDES.
This commit is contained in:
@@ -9,18 +9,13 @@ SOURCE_URI="https://download.netsurf-browser.org/libs/releases/nsgenbind-$portVe
|
||||
CHECKSUM_SHA256="92f75414635b857abd9a4e2c119a517e797d247df5db30284e3dbaf273582c6c"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
commandSuffix=$secondaryArchSuffix
|
||||
commandBinDir=$binDir
|
||||
if [ "$targetArchitecture" = x86_gcc2 ]; then
|
||||
commandSuffix=
|
||||
commandBinDir=$prefix/bin
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
fi
|
||||
|
||||
PROVIDES="
|
||||
nsgenbind$secondaryArchSuffix = $portVersion
|
||||
cmd:nsgenbind$commandSuffix = $portVersion
|
||||
cmd:nsgenbind = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
@@ -45,10 +40,6 @@ BUILD()
|
||||
INSTALL()
|
||||
{
|
||||
make install PREFIX="$prefix" NSSHARED=/system/data/netsurf-buildsystem
|
||||
if [ -n "$secondaryArchSuffix" -a -n "$commandSuffix" ]; then
|
||||
mkdir -p "$binDir"
|
||||
mv "$prefix/bin/nsgenbind" "$binDir"/nsgenbind
|
||||
fi
|
||||
}
|
||||
|
||||
TEST()
|
||||
|
||||
Reference in New Issue
Block a user