2010-05-11 00:08:05 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Libdmtx < Formula
|
2010-05-11 00:08:05 +00:00
|
|
|
homepage 'http://www.libdmtx.org'
|
2014-02-27 14:19:55 +00:00
|
|
|
url 'https://downloads.sourceforge.net/project/libdmtx/libdmtx/0.7.4/libdmtx-0.7.4.tar.bz2'
|
2012-08-08 15:37:07 +00:00
|
|
|
sha1 '016282df12c4046338b9ff73f3d8b39f023bae16'
|
2010-05-11 00:08:05 +00:00
|
|
|
|
2010-09-19 17:21:57 +00:00
|
|
|
depends_on 'pkg-config' => :build
|
2010-05-11 00:08:05 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
|
|
|
|
system "make"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|