summaryrefslogtreecommitdiff
path: root/homebrew/libsvm/.beer
diff options
context:
space:
mode:
authorMCApollo <34170230+MCApollo@users.noreply.github.com>2019-04-20 20:49:46 -0500
committerMCApollo <34170230+MCApollo@users.noreply.github.com>2019-04-23 20:18:47 -0500
commit12335518ab39608d58370c85ff9f5384ad2aa5f7 (patch)
tree352d81f2a2de3f1252af732080ec0fde38c13b4d /homebrew/libsvm/.beer
parenta2b26ad12d4fa12f0273645caf4be6d0b8b71e7c (diff)
Ported in the homebrew-marauder for a hacky update/import system.
TODO: Maybe add a license & fix up messy code.
Diffstat (limited to 'homebrew/libsvm/.beer')
-rw-r--r--homebrew/libsvm/.beer22
1 files changed, 22 insertions, 0 deletions
diff --git a/homebrew/libsvm/.beer b/homebrew/libsvm/.beer
new file mode 100644
index 000000000..d6c51bf5a
--- /dev/null
+++ b/homebrew/libsvm/.beer
@@ -0,0 +1,22 @@
+{
+ "name": "Libsvm",
+ "description": "Library for support vector machines",
+ "url": "https://www.csie.ntu.edu.tw/~cjlin/libsvm/libsvm-3.22.tar.gz",
+ "mirror": "https://dl.bintray.com/homebrew/mirror/libsvm-3.22.tar.gz",
+ "homepage": "https://www.csie.ntu.edu.tw/~cjlin/libsvm/",
+ "depends": [],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "system \"make\", \"CFLAGS=#{ENV.cflags}\"",
+ "system \"make\", \"lib\"",
+ "bin.install \"svm-scale\", \"svm-train\", \"svm-predict\"",
+ "lib.install \"libsvm.so.2\" => \"libsvm.2.dylib\"",
+ "lib.install_symlink \"libsvm.2.dylib\" => \"libsvm.dylib\"",
+ "MachO::Tools.change_dylib_id(\"#{lib}/libsvm.2.dylib\", \"#{lib}/libsvm.2.dylib\")",
+ "include.install \"svm.h\""
+ ],
+ "version": "3.22",
+ "file": "libsvm.rb"
+} \ No newline at end of file