diff options
-rw-r--r-- | pcr/ocaml-ssl/PKGBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
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 <denis@wernert.info> +# Maintainer (Parabola) : Aurélien DESBRIÈRES <aurelien@hackers.camp> + +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: |