forked from ocaml/opam-repository
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request ocaml#26985 from UnixJunkie/libsvm_tools_335
new file: packages/libsvm_tools/3.35/opam
- Loading branch information
Showing
1 changed file
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
opam-version: "2.0" | ||
authors: "Chih-Chung Chang and Chih-Jen Lin" | ||
homepage: "https://www.csie.ntu.edu.tw/~cjlin/libsvm/" | ||
#maintainer: "https://www.csie.ntu.edu.tw/~cjlin/index.html" | ||
maintainer: "[email protected]" | ||
bug-reports: "https://github.com/ocaml/opam-repository/issues" | ||
license: "BSD-3-Clause" | ||
build: [ | ||
[make] | ||
] | ||
install: [ | ||
["cp" "svm-train" "%{bin}%/libsvm_train"] | ||
["cp" "svm-predict" "%{bin}%/libsvm_predict"] | ||
] | ||
depends: [ | ||
"conf-gcc" | ||
"conf-g++" | ||
] | ||
available: os != "win32" | ||
synopsis: "User-space installer for libsvm's tools" | ||
description: """ | ||
Attempt a user-space installation of libsvm. | ||
While liblinear can be considered a chainsaw for machine learning, | ||
libsvm is a swiss knife in the same field. | ||
If successful, libsvm_train and libsvm_predict will be installed | ||
into opam's bin directory. | ||
Note: libsvm is a C++ software which is required by some OCaml | ||
software in opam-repository. | ||
Having an automatic user-space installer in opam-repository will make those | ||
software easier to install (e.g. even if you don't have root access | ||
to install the libsvm system package). | ||
""" | ||
dev-repo: "git://https://github.com/cjlin1/libsvm.git" | ||
url { | ||
src: "https://github.com/cjlin1/libsvm/archive/refs/tags/v335.tar.gz" | ||
checksum: [ | ||
"sha256=f864faaf0e6606aa5eb89b48d76b77db43b501c3b0b1842ae036f9d754e675d9" | ||
] | ||
} |