You are not logged in.
This is a REPL implementation of C. It is a haskell application. I need someone knowledgeable there. http://neugierig.org/software/c-repl/
Offline
I don't use haskell, but I tried to create a PKGBUILD. It has 30+ dependencies for me, so I didn't build the package myself. This basically does what the author suggests. I think the last cabal lines need a haskell equivalent of /PREFIX so you should probably modify them.
pkgname=c-repl-git
pkgver=20100530
pkgrel=1
pkgdesc="A REPL implementation of C in Haskell"
arch=('any')
url="http://neugierig.org/software/c-repl/"
license=('custom')
depends=('ghc>=6.8 gcc gdb gccxml-cvs haskell-hexpat haskell-hgdbmi')
makedepends=('git')
_gitroot="git://neugierig.org/c-repl.git"
_gitname="c-repl"
build() {
cd "$srcdir"
msg "Connecting to GIT server...."
if [ -d $_gitname ] ; then
cd $_gitname && git pull origin
msg "The local files are updated."
else
git clone $_gitroot $_gitname
fi
msg "GIT checkout done or server timeout"
msg "Starting make..."
cabal configure || return 1
cabal install || return 1
cabal copy || return 1
}
Last edited by dcc24 (2010-05-30 06:23:18)
It is better to keep your mouth shut and be thought a fool than to open it and remove all doubt. (Mark Twain)
Offline