diff --git a/Formula/dmtx-utils.rb b/Formula/dmtx-utils.rb new file mode 100644 index 0000000000..9bfb0ef9f6 --- /dev/null +++ b/Formula/dmtx-utils.rb @@ -0,0 +1,15 @@ +require 'formula' + +class DmtxUtils < Formula + homepage 'http://www.libdmtx.org' + url 'http://downloads.sourceforge.net/project/libdmtx/libdmtx/0.7.4/dmtx-utils-0.7.4.zip' + sha1 '9c50506b420ed646e1554286de4daf7e9218f105' + + depends_on 'libdmtx' + + def install + system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}" + system "make" + system "make install" + end +end