[arch-commits] Commit in bochs/repos (4 files)

Evangelos Foutras foutrelis at archlinux.org
Thu Sep 10 03:58:50 UTC 2015


    Date: Thursday, September 10, 2015 @ 05:58:50
  Author: foutrelis
Revision: 139737

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  bochs/repos/community-staging-i686/
  bochs/repos/community-staging-i686/PKGBUILD
    (from rev 139736, bochs/trunk/PKGBUILD)
  bochs/repos/community-staging-x86_64/
  bochs/repos/community-staging-x86_64/PKGBUILD
    (from rev 139736, bochs/trunk/PKGBUILD)

-----------------------------------+
 community-staging-i686/PKGBUILD   |   57 ++++++++++++++++++++++++++++++++++++
 community-staging-x86_64/PKGBUILD |   57 ++++++++++++++++++++++++++++++++++++
 2 files changed, 114 insertions(+)

Copied: bochs/repos/community-staging-i686/PKGBUILD (from rev 139736, bochs/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2015-09-10 03:58:50 UTC (rev 139737)
@@ -0,0 +1,57 @@
+# $Id$
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
+# Contributor: Kevin Piche <kevin at archlinux.org>
+
+pkgname=bochs
+pkgver=2.6.8
+pkgrel=2
+pkgdesc="A portable x86 PC emulation software package, including GUI debugger"
+arch=('i686' 'x86_64')
+url="http://bochs.sourceforge.net/"
+license=('LGPL')
+depends=('gcc-libs' 'libxrandr' 'libxpm' 'gtk2')
+source=("http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz")
+md5sums=('8a243e2b5f7562f32d2b26f3cebbba08')
+
+prepare() {
+    cd "$srcdir/$pkgname-$pkgver"
+    # 4.X kernel is basically 3.20
+    sed -i 's/2\.6\*|3\.\*)/2.6*|3.*|4.*)/' configure*
+}
+
+build() {
+    cd "$srcdir/$pkgname-$pkgver"
+
+    ./configure \
+        --prefix=/usr \
+        --without-wx \
+        --with-x11 \
+        --with-x \
+        --with-term \
+        --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 \
+        --enable-debugger
+        #--with-sdl
+        #--enable-x86-debugger
+        #--enable-all-optimizations
+        #--enable-plugins
+    sed -i 's/^LIBS = /LIBS = -lpthread/g' Makefile
+    make -j 1
+}
+
+package() {
+    cd "$srcdir/$pkgname-$pkgver"
+    make DESTDIR="$pkgdir" install
+    install -Dm644 .bochsrc "$pkgdir/etc/bochsrc-sample.txt"
+}

Copied: bochs/repos/community-staging-x86_64/PKGBUILD (from rev 139736, bochs/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2015-09-10 03:58:50 UTC (rev 139737)
@@ -0,0 +1,57 @@
+# $Id$
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
+# Contributor: Kevin Piche <kevin at archlinux.org>
+
+pkgname=bochs
+pkgver=2.6.8
+pkgrel=2
+pkgdesc="A portable x86 PC emulation software package, including GUI debugger"
+arch=('i686' 'x86_64')
+url="http://bochs.sourceforge.net/"
+license=('LGPL')
+depends=('gcc-libs' 'libxrandr' 'libxpm' 'gtk2')
+source=("http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz")
+md5sums=('8a243e2b5f7562f32d2b26f3cebbba08')
+
+prepare() {
+    cd "$srcdir/$pkgname-$pkgver"
+    # 4.X kernel is basically 3.20
+    sed -i 's/2\.6\*|3\.\*)/2.6*|3.*|4.*)/' configure*
+}
+
+build() {
+    cd "$srcdir/$pkgname-$pkgver"
+
+    ./configure \
+        --prefix=/usr \
+        --without-wx \
+        --with-x11 \
+        --with-x \
+        --with-term \
+        --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 \
+        --enable-debugger
+        #--with-sdl
+        #--enable-x86-debugger
+        #--enable-all-optimizations
+        #--enable-plugins
+    sed -i 's/^LIBS = /LIBS = -lpthread/g' Makefile
+    make -j 1
+}
+
+package() {
+    cd "$srcdir/$pkgname-$pkgver"
+    make DESTDIR="$pkgdir" install
+    install -Dm644 .bochsrc "$pkgdir/etc/bochsrc-sample.txt"
+}



More information about the arch-commits mailing list