Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

metadata: OPAM, make, git #4

Merged
merged 5 commits into from May 2, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
7 changes: 7 additions & 0 deletions .gitignore
Expand Up @@ -18,3 +18,10 @@ _build/
# oasis generated files
setup.data
setup.log
_tags
lib/META
lib/eigen.mldylib
lib/eigen.mllib
lib/libeigen_stubs.clib
myocamlbuild.ml
setup.ml
9 changes: 6 additions & 3 deletions Makefile
@@ -1,13 +1,16 @@
all:
all: setup.data
ocaml setup.ml -build

install:
ocaml setup.ml -uninstall
ocaml setup.ml -install
uninstall:
ocamlfind remove eigen
oasis:
oasis setup
oasis: setup.data
setup.data: setup.ml
ocaml setup.ml -configure
setup.ml: _oasis
oasis setup
clean:
rm -rf _build
cleanall: uninstall
Expand Down
14 changes: 7 additions & 7 deletions opam/opam
@@ -1,10 +1,10 @@
opam-version: "1.2"
maintainer: "Liang Wang (ryanrhymes@gmail.com)"
authors: [ "Liang Wang (ryanrhymes@gmail.com)" ]
maintainer: "Liang Wang <ryanrhymes@gmail.com>"
authors: [ "Liang Wang" ]
license: "MIT"
homepage: "https://github.com/ryanrhymes/eigen"
dev-repo: "https://github.com/ryanrhymes/eigen.git"
bug-reports: "https://github.com/ryanrhymes/eigen/issues"
homepage: "https://github.com/owlbarn/eigen"
dev-repo: "https://github.com/owlbarn/eigen.git"
bug-reports: "https://github.com/owlbarn/eigen/issues"
build: [
["oasis" "setup"]
["ocaml" "setup.ml" "-configure" "--prefix" prefix]
Expand All @@ -22,9 +22,9 @@ build-test: [
]
build-doc: [ "ocaml" "setup.ml" "-doc" ]
depends: [
"ctypes"
"ctypes" {>= "0.14.0"}
"oasis" {build & >= "0.4"}
"ocamlbuild" {build}
"ocamlfind" {build}
]
available: [ ocaml-version >= "4.03" ]
available: [ ocaml-version >= "4.02" ]
2 changes: 1 addition & 1 deletion opam/url
@@ -1,2 +1,2 @@
archive: "https://github.com/ryanrhymes/eigen/archive/VERSION.tar.gz"
archive: "https://github.com/owlbarn/eigen/archive/VERSION.tar.gz"
checksum: "MD5_CHECKSUM"