1 # Maintainer: Johannes Schlatow <johannes.schlatow@googlemail.com>
6 pkgdesc="An emulator which supports various ARM platforms"
8 url="http://www.skyeye.org/"
10 depends=('libx11' 'libxpm')
11 optdepends=('cross-arm-elf-gcc-base' 'gdb')
13 source=("0001-Add-some-macro-judgment-for-ubuntu-10.10.patch" "fix-makefile.patch")
14 sha256sums=('e134cdc963941bdaf5132e61f7dcd77053bb0862ab664267b3cabfe289c150cc' '2d509b64fe6f16db290bb190f5d9ffdf0ec611df940a37363f3f774d3d51132c')
18 msg "Connecting to GIT server..."
20 if [ -d "$srcdir/skyeye" ]; then
21 cd skyeye && git pull origin
22 msg "The local files are updated."
24 git clone git://skyeye.git.sourceforge.net/gitroot/skyeye/skyeye
28 patch -p1 < ../0001-Add-some-macro-judgment-for-ubuntu-10.10.patch
29 patch < ../fix-makefile.patch
31 ./configure --sysconfdir=/usr/share --prefix=/usr
38 make DESTDIR="${pkgdir}" install_lib
39 make DESTDIR="${pkgdir}" install
41 install -d ${pkgdir}/opt/skyeye
42 mv ${pkgdir}/usr/testsuite ${pkgdir}/opt/skyeye/
44 rm ${pkgdir}/usr/include/*.h
45 rm ${pkgdir}/usr/lib/libbfd.a
46 rm ${pkgdir}/usr/lib/libbfd.so
47 rm ${pkgdir}/usr/lib/libiberty.a
48 rm ${pkgdir}/usr/lib/libopcodes.a
49 rm ${pkgdir}/usr/lib/libopcodes.so