-
Notifications
You must be signed in to change notification settings - Fork 298
/
bochs-2.6.recipe
47 lines (42 loc) · 1.15 KB
/
bochs-2.6.recipe
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
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.org/"
COPYRIGHT="2001-2006 The Bochs Project"
LICENSE="GNU LGPL v2.1"
REVISION="2"
SOURCE_URI="http://downloads.sourceforge.net/project/bochs/bochs/2.6/bochs-2.6.tar.gz"
CHECKSUM_SHA256="65123e44a6d2c1148d741da025d16311b9ccd600ef268b911aba73c67eaf86e1"
ARCHITECTURES="x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
bochs$secondaryArchSuffix = $portVersion
cmd:bochs$secondaryArchSuffix = $portVersion
cmd:bochs$secondaryArchSuffix = $portVersion
cmd:bxcommit$secondaryArchSuffix = $portVersion
cmd:bximage$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libsdl$secondaryArchSuffix
"
BUILD_REQUIRES="
devel:libz$secondaryArchSuffix
devel:libsdl$secondaryArchSuffix
"
BUILD_PREREQUIRES="
haiku${secondaryArchSuffix}_devel
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
}