PKGBUILDs/extra/bochs/PKGBUILD

25 lines
939 B
Bash
Raw Normal View History

2009-10-19 03:17:58 +00:00
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
2009-10-10 02:23:22 +00:00
# Maintainer: Kevin Piche <kevin@archlinux.org>
pkgname=bochs
pkgver=2.3.7
pkgrel=1
pkgdesc="A portable x86 PC emulation software package"
2009-10-19 03:17:58 +00:00
arch=('arm')
2009-10-10 02:23:22 +00:00
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
}