3be38f0f18
Update QRencode to 3.2.0 Patches for issues Homebrew/homebrew#6447 and Homebrew/homebrew#6843 are now contained in this release. Building is now thread-safe. Changed url, homepage and use sha1. Closes Homebrew/homebrew#8888. Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
18 lines
457 B
Ruby
18 lines
457 B
Ruby
require 'formula'
|
|
|
|
class Qrencode < Formula
|
|
url 'http://fukuchi.org/works/qrencode/qrencode-3.2.0.tar.gz'
|
|
homepage 'http://fukuchi.org/works/qrencode/index.html.en'
|
|
sha1 '1c9cf02cc8e79dddc7238cad64b0bf3c48e94210'
|
|
|
|
depends_on 'pkg-config' => :build
|
|
|
|
def install
|
|
ENV.x11 # For libpng
|
|
|
|
system "./configure", "--disable-dependency-tracking",
|
|
"--prefix=#{prefix}"
|
|
system "make"
|
|
system "make install"
|
|
end
|
|
end
|