# Contributor (Arch) : Serge Zirukin # Contributor (Arch) : Sergei Lebedev # Contributor (Arch) : Justin Davis # Maintainer (Parabola) : Aurélien DESBRIÈRES pkgname=ocaml-curl pkgver=0.5.3 pkgrel=3 pkgdesc="OCaml bindings to libcurl networking library" arch=('i686' 'x86_64' 'mips64el') license=('BSD') depends=('ocaml' 'curl>=7.9.8') makedepends=('ocaml-findlib') options=(!strip !makeflags) url='http://sourceforge.net/projects/ocurl/' source=("http://sourceforge.net/projects/ocurl/files/ocurl/$pkgver/ocurl-$pkgver.tgz") build() { cd "$srcdir/ocurl" ./configure --prefix /usr make } package() { cd "$srcdir/ocurl" export OCAMLFIND_DESTDIR="$pkgdir$(ocamlfind printconf destdir)" install -dm 755 "$OCAMLFIND_DESTDIR/stublibs" make install FINDLIB=ocamlfind }