Browse files

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

  • Loading branch information...
1 parent 13e2b22 commit 69759fb7cd1cac1197f45e84b607e65019ce2835 @mfp committed Jun 17, 2012
Showing with 16 additions and 0 deletions.
  1. +7 −0 META
  2. +9 −0 OMakefile
View
7 META
@@ -0,0 +1,7 @@
+name="leveldb"
+version="0.9.0"
+description="leveldb bindings"
+requires="threads"
+archive(byte)="leveldb.cma"
+archive(native)="leveldb.cmxa"
+
View
9 OMakefile
@@ -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

0 comments on commit 69759fb

Please sign in to comment.