1 # Maintainer: Dave Kil <dave at thekilempire dot com>
2 # Contributor: robb_force <robb_forc at holybuffalo dot net>
7 pkgdesc="A version of the Ubiquitous Amiga Emulator, that attempts to bring many of the great features of WinUAE to non-Windows platforms."
8 url="http://www.rcdrummond.net/uae"
12 depends=('lib32-gtk2>=2.0.0' 'lib32-gtk' 'lib32-sdl' 'lib32-alsa-lib' 'lib32-mesa')
13 makedepends=('zlib' 'pkgconfig' 'mesa' 'awk' 'make' 'gcc-multilib')
14 source=(http://www.rcdrummond.net/uae/test/20080820/e-uae-0.8.29-20080820.tar.bz2)
15 sha256sums=('2659972bdd2daf568b533558a029d87c48815ce20eba93187acbf5235953d11c')
20 export PKG_CONFIG_PATH=/usr/lib32/pkgconfig
21 export CFLAGS=$(echo $CFLAGS | sed 's/x86-64/i686/g')
22 export CXXFLAGS=$(echo $CXXFLAGS | sed 's/x86-64/i686/g')
23 export MAKEFLAGS="-j1"
25 cd $srcdir/e-uae-0.8.29-20080820
26 ./configure --enable-bsdsock --enable-scsi-device \
27 --with-sdl --with-sdl-gfx --with-sdl-gl \
28 --with-alsa --prefix=/usr \
29 --libdir=/usr/lib32 --target=i686-pc-linux-gnu --host=i686-pc-linux-gnu
34 cd $srcdir/e-uae-0.8.29-20080820/src
35 install -Dm755 uae $pkgdir/usr/bin/uae
36 install -Dm755 readdisk $pkgdir/usr/bin/readdisk
37 install -Dm755 make_hdf $pkgdir/usr/bin/make_hdf
39 cd $srcdir/e-uae-0.8.29-20080820/docs
40 install -Dm644 bsdsocket.txt $pkgdir/usr/share/doc/e-uae/bsdsocket.txt
41 install -Dm644 cmd-line.txt $pkgdir/usr/share/doc/e-uae/cmd-line.txt
42 install -Dm644 compiling.txt $pkgdir/usr/share/doc/e-uae/compiling.txt
43 install -Dm644 configuration.txt $pkgdir/usr/share/doc/e-uae/configuration.txt
44 install -Dm644 floppies.txt $pkgdir/usr/share/doc/e-uae/floppies.txt
45 install -Dm644 joystick.txt $pkgdir/usr/share/doc/e-uae/joystick.txt
46 install -Dm644 keyboard.txt $pkgdir/usr/share/doc/e-uae/keyboard.txt
47 install -Dm644 make_hdf.txt $pkgdir/usr/share/doc/e-uae/make_hdf.txt
48 install -Dm644 scsi.txt $pkgdir/usr/share/doc/e-uae/scsi.txt