From 2202ee244e6de8148d3b92a00e32018f06a1ce68 Mon Sep 17 00:00:00 2001 From: Aurélien DESBRIÈRES Date: Thu, 5 Jun 2014 20:06:18 +0200 Subject: ocaml-curl --- pcr/ocaml-curl/PKGBUILD | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 pcr/ocaml-curl/PKGBUILD (limited to 'pcr/ocaml-curl') diff --git a/pcr/ocaml-curl/PKGBUILD b/pcr/ocaml-curl/PKGBUILD new file mode 100644 index 000000000..0bc9669b4 --- /dev/null +++ b/pcr/ocaml-curl/PKGBUILD @@ -0,0 +1,29 @@ +# 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') +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 +} -- cgit v1.2.3