void-packages/srcpkgs/bochs/template

23 lines
911 B
Bash

# Template file for 'bochs'
pkgname=bochs
version=2.7
revision=1
build_style=gnu-configure
configure_args="--with-sdl2 --enable-all-optimizations --enable-e1000
--disable-readline --enable-x86-64 --enable-smp --enable-avx --enable-evex
--enable-x86-debugger --enable-usb --enable-usb-ohci --enable-usb-ehci
--enable-usb-xhci --enable-debugger --enable-debugger-gui"
hostmakedepends="pkg-config"
makedepends="libX11-devel libXrandr-devel SDL2-devel"
short_desc="Highly portable open source x86(_64) PC emulator"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.1-only"
homepage="https://bochs.sourceforge.net/"
changelog="https://raw.githubusercontent.com/bochs-emu/Bochs/master/bochs/CHANGES"
distfiles="${SOURCEFORGE_SITE}/bochs/bochs-${version}.tar.gz"
checksum=a010ab1bfdc72ac5a08d2e2412cd471c0febd66af1d9349bc0d796879de5b17a
pre_build() {
vsed -i 's/^LIBS = /LIBS = -lpthread/g' Makefile
}