1 # Maintainer: Sergei Lebedev <superbobry@gmail.com
2 # Contributor: serp <serp256 at gmail dot com>
6 pkgdesc="A library for cooperative threads in OCaml"
8 url="http://ocsigen.org/lwt/"
10 depends=('ocaml>=3.12.0' 'ocaml-compiler-libs'
11 'ocaml-react' 'ocaml-text' 'ocaml-ssl' 'libev' 'glibc')
12 makedepends=('ocaml-findlib')
13 source=(http://ocsigen.org/download/lwt-$pkgver.tar.gz)
14 md5sums=('d1b4a8c1ad320c8f7876a8bff157d2d3')
15 options=(!strip !makeflags)
18 cd "$srcdir/${pkgname/ocaml-/}-$pkgver"
22 # --enable-react ocaml-react
23 # --enable-ssl ocaml-ssl
24 # --enable-text ocaml-text
25 # --enable-toplevel ocaml-compiler-libs
27 ./configure --enable-react \
39 cd "$srcdir/${pkgname/ocaml-/}-$pkgver"
41 export OCAMLFIND_DESTDIR="$pkgdir/$(ocamlfind printconf destdir)"
43 mkdir -p "$OCAMLFIND_DESTDIR/stublibs"
45 install -Dm 644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE