From 71f8ef63257115882fcdcd01bb27275d07549682 Mon Sep 17 00:00:00 2001 From: Aurélien DESBRIÈRES Date: Thu, 5 Jun 2014 20:24:43 +0200 Subject: ocaml-ssl --- pcr/ocaml-ssl/PKGBUILD | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 pcr/ocaml-ssl/PKGBUILD (limited to 'pcr/ocaml-ssl') diff --git a/pcr/ocaml-ssl/PKGBUILD b/pcr/ocaml-ssl/PKGBUILD new file mode 100644 index 000000000..b8af1a731 --- /dev/null +++ b/pcr/ocaml-ssl/PKGBUILD @@ -0,0 +1,30 @@ +# Contributor (Arch) : Denis Wernert +# Maintainer (Parabola) : Aurélien DESBRIÈRES + +pkgname=ocaml-ssl +pkgver=0.4.6 +pkgrel=3 +pkgdesc="OCaml SSL Library" +arch=('i686' 'x86_64') +url="http://savonet.sourceforge.net/" +license=('MIT') +depends=('ocaml') +makedepends=('openssl' 'ocaml-findlib') +source=(ocaml-ssl-0.4.6.tar.gz::http://sourceforge.net/projects/savonet/files/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz/download) +options=(!libtool !strip zipman !makeflags) + + +build() { + cd $pkgname-$pkgver + ./configure --prefix /usr + make +} + +package() { + OCAMLFIND_DESTDIR="${pkgdir}$(ocamlfind printconf destdir)" + cd $pkgname-$pkgver + mkdir -p $OCAMLFIND_DESTDIR/stublibs + OCAMLFIND_INSTFLAGS="-destdir $OCAMLFIND_DESTDIR -ldconf /dev/null" make install +} + +# vim:set ts=2 sw=2 et: -- cgit v1.2.3