mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 11:40:06 +02:00
Merged in diversys/haikuports (pull request #187)
bochs: add recipe for 2.6
This commit is contained in:
50
app-emulation/bochs/bochs-2.6.recipe
Normal file
50
app-emulation/bochs/bochs-2.6.recipe
Normal file
@@ -0,0 +1,50 @@
|
||||
SUMMARY="Bochs The Open Source IA-32 Emulation"
|
||||
DESCRIPTION="Bochs IA-32 Emulator provides a virtual PC that can run operating systems such as Windows, Linux, and BSD"
|
||||
HOMEPAGE="http://bochs.org/"
|
||||
COPYRIGHT="2001-2006 The Bochs Project"
|
||||
LICENSE="GNU LGPL v2.1"
|
||||
|
||||
SRC_URI="http://downloads.sourceforge.net/project/bochs/bochs/2.6/bochs-2.6.tar.gz"
|
||||
CHECKSUM_SHA256="65123e44a6d2c1148d741da025d16311b9ccd600ef268b911aba73c67eaf86e1"
|
||||
|
||||
REVISION="1"
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
bochs$secondaryArchSuffix = $portVersion
|
||||
cmd:bochs$secondaryArchSuffix = $portVersion
|
||||
cmd:bochs$secondaryArchSuffix = $portVersion
|
||||
cmd:bximage$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix >= $haikuVersion
|
||||
lib:libstdc++$secondaryArchSuffix
|
||||
lib:libsdl$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
devel:libz$secondaryArchSuffix
|
||||
devel:libsdl$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel >= $haikuVersion
|
||||
cmd:awk
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:make
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
LIBS=-lnetwork runConfigure ./configure --with-sdl
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
strip -s $binDir/bochs
|
||||
}
|
||||
Reference in New Issue
Block a user