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: "unixjunkie@sdf.org" 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" ] }