PKGBUILDs/extra/bochs/PKGBUILD
2009-10-18 22:17:58 -05:00

24 lines
939 B
Bash

# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
# Maintainer: Kevin Piche <kevin@archlinux.org>
pkgname=bochs
pkgver=2.3.7
pkgrel=1
pkgdesc="A portable x86 PC emulation software package"
arch=('arm')
license=('LGPL')
url="http://bochs.sourceforge.net/"
source=(http://dl.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz bochs-2.3.7-typo-fixes.patch)
md5sums=('a2e5f922505bf16cabd36bb9d571a2c4' '7d6df4f5f7ee1d4623e7bcf385c9c6e0')
depends=('gcc-libs' 'libxpm')
build() {
cd ${startdir}/src/${pkgname}-${pkgver}
patch -Np1 -i ../bochs-2.3.7-typo-fixes.patch || return 1
./configure --prefix=/usr --enable-vbe --without-wx --enable-cpu-level=6 \
--enable-4meg-pages --enable-global-pages --enable-pae --enable-fpu \
--enable-mmx --enable-3dnow --enable-sse --enable-sep
make || return 1
make prefix=${startdir}/pkg/usr install
install -D -m 644 .bochsrc ${startdir}/pkg/etc/bochsrc-sample.txt
}