Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added META file and install/uninstall targets; initial version 0.9.0.

  • Loading branch information...
commit 69759fb7cd1cac1197f45e84b607e65019ce2835 1 parent 13e2b22
mfp authored
Showing with 16 additions and 0 deletions.
  1. +7 −0 META
  2. +9 −0 OMakefile
7 META
View
@@ -0,0 +1,7 @@
+name="leveldb"
+version="0.9.0"
+description="leveldb bindings"
+requires="threads"
+archive(byte)="leveldb.cma"
+archive(native)="leveldb.cmxa"
+
9 OMakefile
View
@@ -15,3 +15,12 @@ OCAMLOPTFLAGS += -inline 100
clean:
make clean
+PACKAGE_FILES = $(cd src, $(ls *.cma *.cmxa *.cmx *.cmi *.mli *.so *.a))
+
+.PHONY: install
+install:
+ ocamlfind install leveldb META $(PACKAGE_FILES)
+
+.PHONY: uninstall
+uninstall:
+ ocamlfind remove leveldb
Please sign in to comment.
Something went wrong with that request. Please try again.