summaryrefslogtreecommitdiff
path: root/extra/bochs/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/bochs/PKGBUILD')
-rw-r--r--extra/bochs/PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/extra/bochs/PKGBUILD b/extra/bochs/PKGBUILD
new file mode 100644
index 000000000..7106ce9d9
--- /dev/null
+++ b/extra/bochs/PKGBUILD
@@ -0,0 +1,26 @@
+# $Id: PKGBUILD 94642 2010-10-09 04:04:21Z kevin $
+#Contributor: Tom Newsom <Jeepster@gmx.co.uk>
+# Maintainer: Kevin Piche <kevin@archlinux.org>
+
+pkgname=bochs
+pkgver=2.4.5
+pkgrel=1
+pkgdesc="A portable x86 PC emulation software package"
+arch=('i686' 'x86_64')
+license=('LGPL')
+url="http://bochs.sourceforge.net/"
+source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz
+2.4.5-fetchcode.patch)
+depends=('gcc-libs' 'libxpm')
+
+build() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ patch -Np0 -i ${srcdir}/2.4.5-fetchcode.patch
+ ./configure --prefix=/usr --enable-vbe --without-wx --enable-cpu-level=6 \
+ --enable-fpu --enable-3dnow
+ make || return 1
+ make prefix=${pkgdir}/usr install
+ install -D -m 644 .bochsrc ${pkgdir}/etc/bochsrc-sample.txt
+}
+sha256sums=('b948622a364c2e7da4221a6a4640ba2efa68422e1411ac377c69d37f46f67616'
+ '3dba808614da7d0fa1a3d6ddaceabf027a873d1f45fb90ec43b8dce876baa8ff')