1 # Maintainer: Sergei Lebedev <superbobry@gmail.com>
2 # Contributor: Thomas S Hatch <thatch45 at gmail dot com>
3 # Contributor: Paolo Herms
4 # Contributor: Magnus Therning <magnus@therning.org>
5 # Contributor: Jose Neder <jlneder(at)gmail(dot)com>
6 pkgname=ocaml-ocamlgraph
9 pkgdesc="Graph library for OCaml"
10 url="http://ocamlgraph.lri.fr"
11 source=("http://ocamlgraph.lri.fr/download/ocamlgraph-$pkgver.tar.gz")
12 md5sums=('5aa256e9587a6d264d189418230af698')
13 options=('!strip' '!makeflags')
14 depends=('ocaml' 'libgnomecanvas')
15 makedepends=('lablgtk2' 'ocaml-findlib')
16 arch=('i686' 'x86_64')
20 cd "$srcdir/ocamlgraph-$pkgver"
22 ./configure --prefix=/usr
27 cd "$srcdir/ocamlgraph-$pkgver"
29 export OCAMLFIND_DESTDIR=$pkgdir$(ocamlfind printconf destdir)
31 mkdir -p $OCAMLFIND_DESTDIR
32 make DESTDIR=$pkgdir install-findlib