Last active
October 11, 2015 10:37
-
-
Save rtxanson/3845612 to your computer and use it in GitHub Desktop.
Mac Brew formula for lttoolbox
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'formula' | |
class Lttoolbox < Formula | |
homepage 'http://wiki.apertium.org/wiki/Lttoolbox' | |
url 'http://downloads.sourceforge.net/project/apertium/lttoolbox/3.2/lttoolbox-3.2.0.tar.gz' | |
sha1 'b5fedd442a1ad9dc09abcd84c5e69c7ef923ffc0' | |
head 'http://apertium.svn.sourceforge.net/svnroot/apertium/trunk/lttoolbox' | |
depends_on 'libxml2' | |
def install | |
ENV['LIBTOOLIZE'] = '/usr/local/bin/glibtoolize' | |
ENV['PATH'] = '/usr/local/bin/:' + ENV['PATH'] | |
system "./autogen.sh" | |
system "make" | |
system "make install" # if this fails, try separate make/make install steps | |
end | |
def test | |
system "make test" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment