1 # Maintainer: Sergei Lebedev <superbobry@gmail.com>
2 # Contributor: Nicolas Pouillard <Nicolas.Pouillard@gmail.com>
3 # Contributor: Guillem Rieu <guillemr@gmx.net>
7 pkgdesc="OCaml libraries for web and Internet programming."
9 url="http://projects.camlcity.org/projects/ocamlnet.html"
10 license=('GPL' 'LGPL')
11 depends=('ocaml' 'ocaml-pcre' 'ocaml-ssl' 'ocaml-cryptokit')
12 makedepends=('ocaml-findlib')
14 source=(http://download.camlcity.org/download/$pkgname-$pkgver.tar.gz)
15 md5sums=('34e077c532691c02e506901234c184bc')
18 cd "$srcdir/$pkgname-$pkgver"
20 ./configure -enable-ssl -enable-crypto
25 cd "$srcdir/$pkgname-$pkgver"
27 export OCAMLFIND_DESTDIR="$pkgdir/$(ocamlfind printconf destdir)"
28 install -dm755 "$OCAMLFIND_DESTDIR/stublibs"
29 env DESTDIR="$pkgdir" make install