61b2307139
brewkit.rb changes ENV destructively, so lets not do that everytime a formula is required. Now it's possible for other tools to require a formula description without worrying about side-effects.
12 lines
376 B
Ruby
12 lines
376 B
Ruby
require 'formula'
|
|
|
|
class Libqrencode <Formula
|
|
url 'http://megaui.net/fukuchi/works/qrencode/qrencode-3.1.0.tar.gz'
|
|
homepage 'http://megaui.net/fukuchi/works/qrencode/index.en.html'
|
|
md5 'fc300af948b36b2197ede0d131c12e21'
|
|
|
|
def install
|
|
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
|
|
system "make install"
|
|
end
|
|
end
|