updated on Sat Jan 14 12:12:45 UTC 2012
[aur-mirror.git] / bochs-dbg / PKGBUILD
blobf3c1e1598d78f0dd47fd1f1db00b5581978060c4
1 # Contributor: Arun Chaganty <arunchaganty@gmail.com>
2 pkgname=bochs-dbg
3 pkgver=2.5
4 pkgrel=3
5 pkgdesc="A portable x86 PC emulation software package"
6 arch=(i686 x86_64)
7 url="http://bochs.sourceforge.net/"
8 license=('LGPL')
9 depends=(gcc-libs libxpm wxgtk)
10 makedepends=()
11 provides=()
12 conflicts=()
13 replaces=()
14 backup=()
15 install=
16 source=(http://biznetnetworks.dl.sourceforge.net/project/bochs/bochs/$pkgver/bochs-$pkgver.tar.gz)
17 noextract=()
18 md5sums=('f34ccb756a38c3d5ecf9e3390687967b')
20 build() {
21   cd $startdir/src/bochs-$pkgver
22   ./configure --prefix=/opt/$pkgname --enable-plugins --enable-cpu-level=6 --enable-wx --enable-debugger
23   make || return 1
24   make DESTDIR=$startdir/pkg install
26   # Create convenient link
27   cd $startdir/pkg 
28   mkdir usr
29   mkdir usr/bin
30   ln -s opt/$pkgname/bin/bochs usr/bin/$pkgname