Skip to content

Instantly share code, notes, and snippets.

@rodjek
Created November 6, 2010 13:00
Show Gist options
  • Save rodjek/665398 to your computer and use it in GitHub Desktop.
Save rodjek/665398 to your computer and use it in GitHub Desktop.
require 'formula'
class Augeas <Formula
url 'http://augeas.net/download/augeas-0.7.3.tar.gz'
homepage 'http://augeas.net'
md5 'd907943fc21c2d1db5dc8d97ec02a9e5'
# depends_on 'cmake'
def install
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}"
inreplace 'config.h', '#define HAVE_USELOCALE 1', '#undef HAVE_USELOCALE'
# inreplace 'Makefile', 'prefix = /usr/local', "prefix = #{prefix}"
# system "cmake . #{std_cmake_parameters}"
system "make install"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment