diff --git a/packages/liblinear/liblinear.2.47/opam b/packages/liblinear/liblinear.2.47/opam new file mode 100644 index 00000000000..274620e8d50 --- /dev/null +++ b/packages/liblinear/liblinear.2.47/opam @@ -0,0 +1,35 @@ +opam-version: "2.0" +authors: "https://www.csie.ntu.edu.tw/~cjlin/liblinear/contributors.html" +homepage: "https://www.csie.ntu.edu.tw/~cjlin/liblinear" +#maintainer: "https://www.csie.ntu.edu.tw/~cjlin/index.html" +maintainer: "unixjunkie@sdf.org" +bug-reports: "https://github.com/ocaml/opam-repository/issues" +license: "BSD-3-Clause" +build: [ + ["sh" "-c" "make -C liblinear-247"] + ["install" "liblinear-247/train" "%{bin}%/liblinear-train"] + ["install" "liblinear-247/predict" "%{bin}%/liblinear-predict"] +] +depends: [ + "conf-gcc" + "conf-g++" +] +available: os != "win32" +synopsis: "User-space installer for liblinear" +description: """ +Attempt a user-space installation of liblinear. +If successful, liblinear-train and liblinear-predict will be installed +into opam's bin directory. +Note: liblinear is a C++ software which is required by some OCaml +software in opam-repository. +Having an automatic user-space installer in opam-repos. will make those +software easier to install (e.g. even if you don't have root access +to install the liblinear system package). +""" +dev-repo: "git://https://github.com/cjlin1/liblinear.git" +url { + src: "https://github.com/cjlin1/liblinear/archive/refs/tags/v247.tar.gz" + checksum: [ + "sha256=a62c46f20a01a4626260462c905721f5471da4550d38c3b68ffacf0aa64067b4" + ] +}