2010-05-11 00:08:05 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Libdmtx <Formula
|
2010-09-09 21:25:57 +00:00
|
|
|
url 'http://downloads.sourceforge.net/project/libdmtx/libdmtx/0.7.2/libdmtx-0.7.2.tar.bz2'
|
2010-05-11 00:08:05 +00:00
|
|
|
homepage 'http://www.libdmtx.org'
|
|
|
|
md5 '0684cf3857591e777b57248d652444ae'
|
|
|
|
|
2010-09-19 17:21:57 +00:00
|
|
|
depends_on 'pkg-config' => :build
|
2010-05-11 00:08:05 +00:00
|
|
|
depends_on 'imagemagick'
|
|
|
|
|
|
|
|
def install
|
|
|
|
system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
|
|
|
|
system "make"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|