2010-11-30 18:31:28 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Owfs < Formula
|
2012-07-07 18:08:22 +00:00
|
|
|
homepage 'http://owfs.org/'
|
2011-08-13 18:58:25 +00:00
|
|
|
url 'http://downloads.sourceforge.net/project/owfs/owfs/2.8p13/owfs-2.8p13.tar.gz'
|
|
|
|
version '2.8p13'
|
|
|
|
md5 'cc3e2542aed41c753bffca13f2a0a84e'
|
2010-11-30 18:31:28 +00:00
|
|
|
|
2012-07-07 18:08:22 +00:00
|
|
|
depends_on :automake
|
|
|
|
depends_on :libtool
|
2010-11-30 18:31:28 +00:00
|
|
|
|
2012-07-07 18:08:22 +00:00
|
|
|
depends_on 'libusb-compat'
|
2012-02-29 01:44:13 +00:00
|
|
|
|
2010-11-30 18:31:28 +00:00
|
|
|
def install
|
|
|
|
system "autoreconf -ivf"
|
|
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
|
|
"--disable-swig",
|
|
|
|
"--disable-owtcl",
|
|
|
|
"--disable-zero",
|
|
|
|
"--prefix=#{prefix}"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|