# Template file for 'bochs'
pkgname="bochs"
version="2.6.9"
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=ee5b677fd9b1b9f484b5aeb4614f43df21993088c0c0571187f93acb0866e98c

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