I started with Geoff Teale's PKGBUILD and customized it to work on my
system (which is also 64-bit Arch linux).

This installs ikarus to /usr/bin/ikarus (which is where it should go
on Arch, since Arch scorns local).

(If you don't want the opengl stuff, you can probably remove the
freeglut/libffi deps and the --enable-libffi option.)

# $Id: pkgbuild-mode.el,v 1.23 2007/10/20 16:02:14 juergen Exp $
# Maintainer: Geoff Teale <[email protected]>
pkgname=ikarus-bzr
pkgver=bzr
pkgrel=1
pkgdesc="Ikarus R6RS Scheme compiler"
url="http://ikarus-scheme.org";
arch=('i686' 'x86_64')
license=('GPL')
depends=("gmp" "freeglut" "libffi")
makedepends=("make" "autoconf" "gcc" "gmp" "libffi" "bzr")
conflicts=(ikarus)
provides=(ikarus)
backup=()
install=
source=()
md5sums=()
options=(!docs)
build() {
  cd $srcdir
  rm -rf ikarus.dev
  bzr checkout --lightweight http://ikarus-scheme.org/ikarus.dev
  cd ikarus.dev
  ./configure --prefix=/usr --enable-libffi
CFLAGS=-I"/usr/lib/libffi-3.0.8/include"
  make || return 1
  make DESTDIR=$pkgdir install
}


On Wed, Apr 14, 2010 at 5:16 AM, joshua bowles <[email protected]> wrote:
> Not sure how active this list is:
> I am new to Ikarus (and Scheme... and Lisp for that matter), but I thought
> some of you might be interested to know that I have installed Ikarus.dev on
> my x86_64 ArchLinux through bzr --checkout lightweight... and it seems to be
> working fine (i placed ikarus.dev in /usr/lib) and enabled libffi-3.0.9,
> which is in /usr/lib, plus set library PATH for mit-church.
> There is one catch... a basic install like this (I essentially followed the
> directions in Ikarus user's guide plus the Church wiki for install on
> Fedora) for 64ArchLinux won't put the binary in a path. I assume this is
> what the user guide (pg. 7) means by
> "You may need to update the PATH variable in your environment to contain the
> directory in which the ikarus executable was installed."
> Instead of updating bashrc $PATH to see the ikarus binary in the
> ikaurs.dev/src directory I just moved it to my root /bin. I have installed
> Ikarus on my Fedora 12 also, and I did not have to update any path variables
> for the executable.
> P>S> [[ I am going to try to a make PKGBUILD for Arch's AUR... Geoff Teal
> has one, but adding arch=('x86_64') will not get it to work... (have to
> build in 32 bit).  I am gonna try to make a PKGBUILD that uses bzr, but I've
> never made a PKGBUILD and I don't know if this is possible. ]]
>
> --
> Joshua Bowles
> Adjunct Instructor
> English Department,
> Utah Valley University
> current project:
> http://sites.google.com/site/linguisticsinai/
>
>

Reply via email to