Skip to content

Commit

Permalink
Add Lwt package for rumprun
Browse files Browse the repository at this point in the history
  • Loading branch information
mato committed May 19, 2015
1 parent 09e787a commit 3d3a9f0
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/lwt-rumprun.2.4.8/descr
@@ -0,0 +1,5 @@
A cooperative threads library for OCaml
This library is part of the Ocsigen project. See:

http://ocsigen.org/lwt

@@ -0,0 +1,12 @@
diff -u lwt-2.4.8.orig/setup.ml lwt-2.4.8/setup.ml
--- lwt-2.4.8.orig/setup.ml 2015-03-11 10:22:48.000000000 +0100
+++ lwt-2.4.8/setup.ml 2015-05-19 15:21:49.144599689 +0200
@@ -2192,8 +2192,6 @@
begin
["lib"^cs.cs_name^"_stubs"^ext_lib]
::
- ["dll"^cs.cs_name^"_stubs"^ext_dll]
- ::
acc_nopath
end
else
1 change: 1 addition & 0 deletions packages/lwt-rumprun.2.4.8/findlib
@@ -0,0 +1 @@
lwt
22 changes: 22 additions & 0 deletions packages/lwt-rumprun.2.4.8/opam
@@ -0,0 +1,22 @@
opam-version: "1"
maintainer: "martin@lucina.net"
patches: [
"patches/oasis-dont-check-for-dlls.patch"
]
build: [
["env" "OCAMLFIND_TOOLCHAIN=rumprun" "ocaml" "setup.ml" "-configure"
"--prefix" prefix
"--disable-libev"
"--enable-unix"
"--enable-android-target" ]
["ocamlbuild" "-use-ocamlfind" "-just-plugin"]
["env" "OCAMLFIND_TOOLCHAIN=rumprun" make "build"]
["env" "OCAMLFIND_TOOLCHAIN=rumprun" make "install"]
["touch" "%{prefix}%/x86_64-rumprun-netbsd/lib/lwt/ppx.cma"]
]
remove: [
[ "ocamlfind" "-toolchain" "rumprun" "remove" "lwt" ]
]
depends: [
"ocaml-rumprun"
]
2 changes: 2 additions & 0 deletions packages/lwt-rumprun.2.4.8/url
@@ -0,0 +1,2 @@
archive: "https://github.com/ocsigen/lwt/archive/2.4.8.tar.gz"
checksum: "2f11601bd9535b2e550026f41d9cc883"

0 comments on commit 3d3a9f0

Please sign in to comment.