updated on Thu Jan 19 00:16:31 UTC 2012
[aur-mirror.git] / ocaml-ssl / PKGBUILD
blob366e89a19f3df3af77ada566f37abcaa1da6c885
1 # Contributor: Denis Wernert <denis@wernert.info>
2 pkgname=ocaml-ssl
3 pkgver=0.4.6
4 pkgrel=1
5 pkgdesc="OCaml SSL Library"
6 arch=('i686' 'x86_64')
7 url="http://savonet.sourceforge.net/"
8 license=('MIT')
9 depends=('ocaml')
10 makedepends=('openssl' 'ocaml-findlib')
11 source=(http://sourceforge.net/projects/savonet/files/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz/download)
12 options=(!libtool !strip zipman !makeflags)
13 md5sums=('576c677bb70ea6552e4d49913c74d420')
15 build() {
16   cd $pkgname-$pkgver
17   ./configure --prefix /usr
18   make
21 package() {
22   OCAMLFIND_DESTDIR="${pkgdir}$(ocamlfind printconf destdir)"
23   cd $pkgname-$pkgver
24   mkdir -p $OCAMLFIND_DESTDIR
25   OCAMLFIND_INSTFLAGS="-destdir $OCAMLFIND_DESTDIR -ldconf /dev/null" make install
28 # vim:set ts=2 sw=2 et: