PKGBUILDs/extra/bochs/PKGBUILD

26 lines
993 B
Bash
Raw Normal View History

2009-10-10 02:23:22 +00:00
# $Id: PKGBUILD 9933 2008-08-21 01:31:41Z eric $
#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=(i686 x86_64)
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
}