Skip to content

Instantly share code, notes, and snippets.

@sweetmandm
Created March 31, 2015 14:08
Show Gist options
  • Save sweetmandm/fc12c849825db9a52b18 to your computer and use it in GitHub Desktop.
Save sweetmandm/fc12c849825db9a52b18 to your computer and use it in GitHub Desktop.
class Liblouisutdml < Formula
homepage "http://liblouis.org"
url "https://code.google.com/p/liblouisutdml/", :using => :hg, :tag => "tip"
sha1 ""
version "tip"
depends_on "automake"
depends_on "autoconf"
depends_on "libtool"
depends_on "pkg-config"
depends_on "libxml2"
depends_on "liblouis"
def install
args = %W[
--disable-debug
--disable-dependency-tracking
--disable-silent-rules
--prefix=#{prefix}
]
args << "--disable-java-bindings" if build.without? "jni"
system "./autogen.sh"
system "./configure", *args
system "make"
system "make install"
end
test do
system bin/"file2brl", "--version"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment