1 # Maintainer: Eric Waller <ewwaller@gmail.com>
5 pkgdesc="gcc C Compiler for HP 48,49,50 Calculators"
7 url="http://hpcalc.org"
11 makedepends=('make' 'gcc')
12 source=(http://www.hpcalc.org/hp49/pc/programming/$pkgname-${pkgver/_/-}-linux.tar.bz2)
14 md5sums=('4dfe57bffc79eaf966a1c2bed06ea502')
23 tar xvC usr/local/ -f "$srcdir/$pkgname""_20"/arm-elf-gcc-4.1.1-x86-linux2.tar
24 patch $srcdir/$pkgname"_20"/examples/Makefile < ../examples_Makefile.diff
25 patch $srcdir/$pkgname"_20"/examples/games/Makefile < ../examples_games_Makefile.diff
26 patch $srcdir/$pkgname"_20"/examples/hump/Makefile < ../examples_hump_Makefile.diff
27 patch $srcdir/$pkgname"_20"/examples/decnumber/Chudnovsky/Makefile < ../examples_decnumber_Chudnovsky_Makefile.diff
28 patch $srcdir/$pkgname"_20"/examples/decnumber/matrix/Makefile < ../examples_decnumber_matrix_Makefile.diff
29 patch $srcdir/$pkgname"_20"/examples/decnumber/RSA/Makefile < ../examples_decnumber_RSA_Makefile.diff
30 patch $srcdir/$pkgname"_20"/examples/decnumber/sqrt2/Makefile < ../examples_decnumber_sqrt2_Makefile.diff
31 patch $srcdir/$pkgname"_20"/examples/benchmarks/Makefile < ../examples_benchmarks_Makefile.diff
36 cp -r $srcdir/usr $pkgdir
37 cp -r $srcdir/$pkgname"_20" $pkgdir/usr/local/$pkgname
39 cp ../README_ARCH_LINUX $pkgdir/usr/local/$pkgname
40 rm $pkgdir/usr/local/$pkgname/*tar