mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
26 lines
993 B
Bash
26 lines
993 B
Bash
|
# $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
|
||
|
}
|