Bochs: bump, debuginfo (#2415)

* Bochs: bump, debuginfo

* SOURCE_URI

* Cleanup, license

* License
This commit is contained in:
miqlas
2018-04-09 18:20:01 +02:00
committed by GitHub
parent 2bc2838a26
commit 6d71f63e76
2 changed files with 20 additions and 9 deletions

View File

@@ -0,0 +1,51 @@
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
}