Skip to content

Commit

Permalink
Merge pull request ocaml#26985 from UnixJunkie/libsvm_tools_335
Browse files Browse the repository at this point in the history
new file:   packages/libsvm_tools/3.35/opam
  • Loading branch information
mseri authored Dec 15, 2024
2 parents fed925f + c2ae227 commit 305a940
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions packages/libsvm_tools/libsvm_tools.3.35/opam
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"
]
}

0 comments on commit 305a940

Please sign in to comment.