2010-06-06 22:26:57 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Qrencode < Formula
|
2011-11-30 11:07:16 +00:00
|
|
|
homepage 'http://fukuchi.org/works/qrencode/index.html.en'
|
2012-04-05 08:40:27 +00:00
|
|
|
url 'http://fukuchi.org/works/qrencode/qrencode-3.3.0.tar.gz'
|
|
|
|
sha1 '7e7143b2a2b925d77f2d9bae8135c1b7f027af8e'
|
2010-06-06 22:26:57 +00:00
|
|
|
|
2010-09-19 17:21:57 +00:00
|
|
|
depends_on 'pkg-config' => :build
|
2010-06-06 22:26:57 +00:00
|
|
|
|
|
|
|
def install
|
2011-03-14 20:43:00 +00:00
|
|
|
ENV.x11 # For libpng
|
2011-08-05 17:12:47 +00:00
|
|
|
|
2011-03-14 20:43:00 +00:00
|
|
|
system "./configure", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}"
|
|
|
|
system "make"
|
2010-06-06 22:26:57 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|