Skip to content

Commit

Permalink
More build pains fixed, opam looks ready
Browse files Browse the repository at this point in the history
  • Loading branch information
fxfactorial committed May 28, 2015
1 parent b429ac8 commit 8a56f70
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ native:libgit set_meta
-cclib `ocamlfind query ocaml-libgit2`/$(CCLIB) -linkpkg $(SRC) -o Git_test

libgit:
@echo "Updating libgit2 itself"
git submodule update --remote
# @echo "Updating libgit2 itself"
# git submodule update --remote
ocamlfind install ocaml-libgit2 META
# The trick is the ; since cd is done in a separate shell
cd `ocamlfind query ocaml-libgit2`; \
Expand All @@ -25,7 +25,7 @@ set_meta:
`ocamlfind query ocaml-libgit2`/META

install:
ocamlfind install ocaml-libgit2 -add git.cmo git.cmi git.cmt git.o git.cmx
ocamlfind install ocaml-libgit2 -add git.cmi git.cmt git.o git.cmx

uninstall:
ocamlfind remove ocaml-libgit2
Expand Down
4 changes: 4 additions & 0 deletions opam/descr
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
OCaml Ctypes based bindings to libgit2 along with some
helper functions for common tasks. The helper functions
let you focus on your business logic rather than dealing
with Ctypes.
1 change: 1 addition & 0 deletions opam/findlib
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ocaml-libgit2
2 changes: 2 additions & 0 deletions opam/opam
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,6 @@ install: [make "install"]
remove: ["ocamlfind" "remove" "ocaml-libgit2"]
depends: [
"ocamlfind" {build}
"ctypes"
"uri"
]

0 comments on commit 8a56f70

Please sign in to comment.