2012-11-09 14:29:22 +00:00
|
|
|
class DmtxUtils < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Read and write data matrix barcodes"
|
2015-08-03 12:55:31 +00:00
|
|
|
homepage "http://www.libdmtx.org"
|
|
|
|
url "https://downloads.sourceforge.net/project/libdmtx/libdmtx/0.7.4/dmtx-utils-0.7.4.zip"
|
|
|
|
sha256 "4e8be16972320a64351ab8d57f3a65873a1c35135666a9ce5fd574b8dc52078f"
|
2014-03-23 05:15:14 +00:00
|
|
|
revision 1
|
2012-11-09 14:29:22 +00:00
|
|
|
|
2015-08-03 12:55:31 +00:00
|
|
|
depends_on "pkg-config" => :build
|
|
|
|
depends_on "libdmtx"
|
|
|
|
depends_on "imagemagick"
|
2012-11-09 14:29:22 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
|
|
|
|
system "make"
|
2015-08-03 12:55:31 +00:00
|
|
|
system "make", "install"
|
2012-11-09 14:29:22 +00:00
|
|
|
end
|
|
|
|
end
|