mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 11:40:06 +02:00
Dosbox: fix build and move to $binDir
* Dosbox is not only a standalone application, it is also used to run DOS executables non-interactively * There are several front-ends for it which could be put in $appsDir * In either case, things are simpler if Dosbox is in the path, it would not be if installed in home/config/apps.
This commit is contained in:
@@ -28,7 +28,7 @@ SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
dosbox$secondaryArchSuffix = $portVersion
|
||||
app:dosbox$secondaryArchSuffix = $portVersion
|
||||
cmd:dosbox$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
@@ -38,6 +38,9 @@ REQUIRES="
|
||||
lib:libglu$secondaryArchSuffix
|
||||
lib:libpng$secondaryArchSuffix
|
||||
lib:libz$secondaryArchSuffix
|
||||
lib:libGL$secondaryArchSuffix
|
||||
lib:libgcc_s$secondaryArchSuffix
|
||||
lib:libstdc++$secondaryArchSuffix
|
||||
"
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
@@ -51,6 +54,7 @@ BUILD_REQUIRES="
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:autoconf
|
||||
cmd:libtoolize
|
||||
cmd:find
|
||||
cmd:make
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
@@ -64,11 +68,11 @@ PATCHES="
|
||||
|
||||
BUILD()
|
||||
{
|
||||
./configure --prefix=$prefix --disable-dynamic-core --bindir=$appsDir --datarootdir=$dataDir
|
||||
make
|
||||
LDFLAGS=-lnetwork runConfigure ./configure --disable-dynamic-core
|
||||
make $jobArgs
|
||||
}
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
addAppDeskbarSymlink $appsDir/dosbox "DOSBox"
|
||||
addAppDeskbarSymlink $binDir/dosbox "DOSBox"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user