Files
haikuports/app-emulation/bochs/bochs-2.6.9.recipe
miqlas 6d71f63e76 Bochs: bump, debuginfo (#2415)
* Bochs: bump, debuginfo

* SOURCE_URI

* Cleanup, license

* License
2018-04-09 18:20:01 +02:00

52 lines
1.2 KiB
Bash

SUMMARY="The open-source IA-32 emulator"
DESCRIPTION="Bochs IA-32 Emulator provides a virtual PC that can run operating systems such as Windows, Linux, and BSD"
HOMEPAGE="http://bochs.sourceforge.net/"
COPYRIGHT="2001-2017 The Bochs Project"
LICENSE="GNU LGPL v2.1
Bochs"
REVISION="1"
SOURCE_URI="https://downloads.sourceforge.net/bochs/bochs-$portVersion.tar.gz"
CHECKSUM_SHA256="ee5b677fd9b1b9f484b5aeb4614f43df21993088c0c0571187f93acb0866e98c"
ARCHITECTURES="x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
bochs$secondaryArchSuffix = $portVersion
cmd:bochs$secondaryArchSuffix = $portVersion
cmd:bximage$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libreadline$secondaryArchSuffix
lib:libsdl$secondaryArchSuffix
"
BUILD_REQUIRES="
devel:libz$secondaryArchSuffix
devel:libreadline$secondaryArchSuffix
devel:libsdl$secondaryArchSuffix
"
BUILD_PREREQUIRES="
haiku${secondaryArchSuffix}_devel
cmd:awk
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:make
"
defineDebugInfoPackage bochs$secondaryArchSuffix \
"$binDir"/bochs \
"$binDir"/bximage
BUILD()
{
LIBS=-lnetwork runConfigure ./configure --with-sdl
make $jobArgs
}
INSTALL()
{
make install
}