2012-11-09 14:29:22 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class DmtxUtils < Formula
|
|
|
|
homepage 'http://www.libdmtx.org'
|
2014-02-27 14:19:55 +00:00
|
|
|
url 'https://downloads.sourceforge.net/project/libdmtx/libdmtx/0.7.4/dmtx-utils-0.7.4.zip'
|
2012-11-09 14:29:22 +00:00
|
|
|
sha1 '9c50506b420ed646e1554286de4daf7e9218f105'
|
2014-03-23 05:15:14 +00:00
|
|
|
revision 1
|
2012-11-09 14:29:22 +00:00
|
|
|
|
2013-11-15 23:04:21 +00:00
|
|
|
depends_on 'pkg-config' => :build
|
2012-11-09 14:29:22 +00:00
|
|
|
depends_on 'libdmtx'
|
2014-03-23 05:15:14 +00:00
|
|
|
depends_on 'imagemagick'
|
2012-11-09 14:29:22 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
|
|
|
|
system "make"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|