# Template file for 'bochs'
pkgname="bochs"
version="2.6.8"
revision=1
build_style=gnu-configure
short_desc="Highly portable open source IA-32 (x86) PC emulator"
maintainer="mid-kid <esteve.varela@gmail.com>"
license="LGPL-2.1"
homepage="http://bochs.sourceforge.net/"
hostmakedepends="pkg-config"
makedepends="libX11-devel libXrandr-devel gtk+-devel"
configure_args="--enable-debugger --enable-disasm --disable-readline"
disable_parallel_build=yes
distfiles="$SOURCEFORGE_SITE/bochs/bochs-${version}.tar.gz"
checksum="79700ef0914a0973f62d9908ff700ef7def62d4a28ed5de418ef61f3576585ce"

pre_build() {
	sed -i 's/^LIBS = /LIBS = -lpthread/g' Makefile
}
