Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

New formula: liblinear #11515

Closed
wants to merge 1 commit into from

3 participants

@dlackty

LIBLINEAR is a simple package for solving large-scale regularized linear classification.

Please help review, thanks!

@dlackty dlackty New Formula: liblinear
LIBLINEAR is a simple package for solving large-scale regularized
linear classification.
f683fbf
@enaeseth

@dlackty – FYI, 1.9 came out two days ago.

url 'http://www.csie.ntu.edu.tw/~cjlin/liblinear/liblinear-1.9.tar.gz'
md5 '5d22429a4ff57510be7eb14da90e15c5'
@adamv
Owner

Added as 66fa594 per MacPorts.

@adamv adamv closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Apr 8, 2012
  1. @dlackty

    New Formula: liblinear

    dlackty authored
    LIBLINEAR is a simple package for solving large-scale regularized
    linear classification.
This page is out of date. Refresh to see the latest.
Showing with 19 additions and 0 deletions.
  1. +19 −0 Library/Formula/liblinear.rb
View
19 Library/Formula/liblinear.rb
@@ -0,0 +1,19 @@
+require 'formula'
+
+class Liblinear < Formula
+ homepage 'http://www.csie.ntu.edu.tw/~cjlin/liblinear/'
+ url 'http://www.csie.ntu.edu.tw/~cjlin/liblinear/liblinear-1.8.tar.gz'
+ md5 'a2e642bbff3dc1f294c977c87f944f88'
+
+ def install
+ inreplace 'Makefile', 'liblinear.so.$(SHVER)', 'liblinear.$(SHVER).dylib'
+
+ system "make"
+ system "make lib"
+ ln_s 'liblinear.1.dylib', 'liblinear.dylib'
+
+ bin.install 'predict', 'train'
+ lib.install 'liblinear.1.dylib', 'liblinear.dylib'
+ include.install 'linear.h'
+ end
+end
Something went wrong with that request. Please try again.