updated on Sat Jan 14 00:11:12 UTC 2012
[aur-mirror.git] / ocamlnet / PKGBUILD
blob5469da8a78d30f0e98c899fe61d3b9f2807c4044
1 # Maintainer: Sergei Lebedev <superbobry@gmail.com>
2 # Contributor: Nicolas Pouillard <Nicolas.Pouillard@gmail.com>
3 # Contributor: Guillem Rieu <guillemr@gmx.net>
4 pkgname=ocamlnet
5 pkgver=3.4.1
6 pkgrel=1
7 pkgdesc="OCaml libraries for web and Internet programming."
8 arch=('i686' 'x86_64')
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')
13 options=(!strip)
14 source=(http://download.camlcity.org/download/$pkgname-$pkgver.tar.gz)
15 md5sums=('34e077c532691c02e506901234c184bc')
17 build(){
18   cd "$srcdir/$pkgname-$pkgver"
20   ./configure -enable-ssl -enable-crypto
21   make all opt
24 package(){
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