···11+opam-version: "2.0"
22+authors: "Chih-Chung Chang and Chih-Jen Lin"
33+homepage: "https://www.csie.ntu.edu.tw/~cjlin/libsvm/"
44+#maintainer: "https://www.csie.ntu.edu.tw/~cjlin/index.html"
55+maintainer: "unixjunkie@sdf.org"
66+bug-reports: "https://github.com/ocaml/opam-repository/issues"
77+license: "BSD-3-Clause"
88+build: [
99+ [make]
1010+]
1111+install: [
1212+ ["cp" "svm-train" "%{bin}%/libsvm_train"]
1313+ ["cp" "svm-predict" "%{bin}%/libsvm_predict"]
1414+]
1515+depends: [
1616+ "conf-gcc"
1717+ "conf-g++"
1818+]
1919+available: os != "win32"
2020+synopsis: "User-space installer for libsvm's tools"
2121+description: """
2222+Attempt a user-space installation of libsvm.
2323+While liblinear can be considered a chainsaw for machine learning,
2424+libsvm is a swiss knife in the same field.
2525+If successful, libsvm_train and libsvm_predict will be installed
2626+into opam's bin directory.
2727+Note: libsvm is a C++ software which is required by some OCaml
2828+software in opam-repository.
2929+Having an automatic user-space installer in opam-repository will make those
3030+software easier to install (e.g. even if you don't have root access
3131+to install the libsvm system package).
3232+"""
3333+dev-repo: "git://https://github.com/cjlin1/libsvm.git"
3434+url {
3535+ src: "https://github.com/cjlin1/libsvm/archive/refs/tags/v335.tar.gz"
3636+ checksum: [
3737+ "sha256=f864faaf0e6606aa5eb89b48d76b77db43b501c3b0b1842ae036f9d754e675d9"
3838+ ]
3939+}