1 # $Id: pkgbuild-mode.el,v 1.23 2007/10/20 16:02:14 juergen Exp $
2 # Maintainer: Kyle Keen <keenerd@gmail.com>
3 # Maintainer: Michael S. Walker <barrucadu@localhost>
7 pkgdesc="An R5RS Scheme (IEEE P1178). Written in C and runs under many OSes."
8 url="http://people.csail.mit.edu/jaffer/SCM"
12 source=(http://groups.csail.mit.edu/mac/ftpdir/scm/$pkgname-$pkgver.zip)
13 md5sums=('d53c0e7f11e468a40222f59a37a71edf')
16 export SCHEME_LIBRARY_PATH=/usr/share/slib/
20 ./configure --quiet --prefix="$pkgdir/usr/"
32 export SCHEME_LIBRARY_PATH=/usr/share/slib/
35 #make install bugs out?
38 install -d "$pkgdir/usr/bin/"
39 touch "$pkgdir/usr/bin/scm"
40 echo "#!/bin/sh" >> "$pkgdir/usr/bin/scm"
41 echo "export SCHEME_LIBRARY_PATH=/usr/share/slib/" >> "$pkgdir/usr/bin/scm"
42 echo "export SCM_INIT_PATH=/usr/share/scm/require.scm" >> "$pkgdir/usr/bin/scm"
43 echo "/usr/share/scm/scm $*" >> "$pkgdir/usr/bin/scm"
44 chmod +x "$pkgdir/usr/bin/scm"
46 install -D -m755 scm "$pkgdir/usr/share/scm/scm"
49 install -D -m644 $file "$pkgdir/usr/share/scm/$file"