summaryrefslogtreecommitdiff
path: root/pcr/ocaml-ssl
diff options
context:
space:
mode:
authorAurélien DESBRIÈRES <aurelien@hackers.camp>2014-06-05 20:24:43 +0200
committerAurélien DESBRIÈRES <aurelien@hackers.camp>2014-06-05 20:24:43 +0200
commit71f8ef63257115882fcdcd01bb27275d07549682 (patch)
tree1853ea67e84254c89d28b10f84506ec1629af068 /pcr/ocaml-ssl
parent0dc9bb024e85eadaa7471eb3b414b7bf7198c61d (diff)
ocaml-ssl
Diffstat (limited to 'pcr/ocaml-ssl')
-rw-r--r--pcr/ocaml-ssl/PKGBUILD30
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: