updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / ocaml-ocamlgraph / PKGBUILD
blob7166acef3fdad7588fdddecc04e353aba677ef0e
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
7 pkgver=1.8.1
8 pkgrel=1
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')
17 license=('LGPL')
19 build() {
20   cd "$srcdir/ocamlgraph-$pkgver"
22   ./configure --prefix=/usr
23   make
26 package() {
27   cd "$srcdir/ocamlgraph-$pkgver"
29   export OCAMLFIND_DESTDIR=$pkgdir$(ocamlfind printconf destdir)
31   mkdir -p $OCAMLFIND_DESTDIR
32   make DESTDIR=$pkgdir install-findlib