homebrew-core/Formula/dmtx-utils.rb
Jaime Marquínez Ferrándiz 74c83fa9f6 Batch convert http download urls from SourceForge to https
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-03-02 09:16:53 -08:00

16 lines
433 B
Ruby

require 'formula'
class DmtxUtils < Formula
homepage 'http://www.libdmtx.org'
url 'https://downloads.sourceforge.net/project/libdmtx/libdmtx/0.7.4/dmtx-utils-0.7.4.zip'
sha1 '9c50506b420ed646e1554286de4daf7e9218f105'
depends_on 'pkg-config' => :build
depends_on 'libdmtx'
def install
system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
system "make"
system "make install"
end
end