diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-06-04 04:00:35 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-06-04 04:00:35 +0000 |
commit | 8faa42b28f39ace5fc2c3ec8a054fa0a5b246eab (patch) | |
tree | e904cb1dcc6423b414bae5d134c3ea83ac01efa1 /community/bochs/PKGBUILD | |
parent | 11196316291f49af2bacd1b4531e0a548729dea2 (diff) |
Wed Jun 4 03:57:00 UTC 2014
Diffstat (limited to 'community/bochs/PKGBUILD')
-rw-r--r-- | community/bochs/PKGBUILD | 54 |
1 files changed, 41 insertions, 13 deletions
diff --git a/community/bochs/PKGBUILD b/community/bochs/PKGBUILD index 0a26bfc4f..37357c57e 100644 --- a/community/bochs/PKGBUILD +++ b/community/bochs/PKGBUILD @@ -1,27 +1,55 @@ -# $Id: PKGBUILD 92959 2013-06-20 20:17:58Z kkeen $ -#Contributor: Tom Newsom <Jeepster@gmx.co.uk> -# Maintainer: Kevin Piche <kevin@archlinux.org> +# $Id: PKGBUILD 112550 2014-06-03 12:08:57Z kkeen $ +# Maintainer: Kyle Keen <keenerd@gmail.com> +# Contributor: Tom Newsom <Jeepster@gmx.co.uk> +# Contributor: Kevin Piche <kevin@archlinux.org> pkgname=bochs -pkgver=2.6.2 +pkgver=2.6.5 pkgrel=1 pkgdesc="A portable x86 PC emulation software package" arch=('i686' 'x86_64') url="http://bochs.sourceforge.net/" license=('LGPL') depends=('gcc-libs' 'libxrandr') -source=("http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz") -md5sums=('82ecaff9826d4f29fa46f3062e2957b8') +#makedepends=('sdl') +#optdepends=('sdl: debuggers') +source=("http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz") +md5sums=('455020b528ac31477a58779a9a4a96e4') build() { - cd "${srcdir}/${pkgname}-${pkgver}" - ./configure --prefix=/usr --without-wx --enable-cpu-level=6 \ - --enable-fpu --enable-3dnow --enable-disasm - make + cd "$srcdir/$pkgname-$pkgver" + + # typos in 2.6.5 + sed -i 's/Bx3DNowOpcode\[i->modRMForm.Ib/&\[0\]/' cpu/fetchdecode{,64}.cc + + # todo, figure out why debuggers won't build (FS#38274) + ./configure \ + --prefix=/usr \ + --without-wx \ + --with-x11 \ + --disable-docbook \ + --enable-cpu-level=6 \ + --enable-fpu \ + --enable-3dnow \ + --enable-disasm \ + --enable-smp \ + --enable-x86-64 \ + --enable-avx \ + --enable-long-phy-address \ + --enable-disasm \ + --enable-pcidev \ + --enable-usb + #--with-sdl + #--enable-debugger + #--enable-x86-debugger + #--enable-all-optimizations + #--enable-plugins + #sed -i 's/^LIBS = /LIBS = -lpthread/g' Makefile + make } package() { - cd "${srcdir}/${pkgname}-${pkgver}" - make DESTDIR="${pkgdir}" install - install -D -m 644 .bochsrc "${pkgdir}/etc/bochsrc-sample.txt" + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir" install + install -Dm644 .bochsrc "$pkgdir/etc/bochsrc-sample.txt" } |