2009-12-24 11:17:36 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Libftdi < Formula
|
2010-04-07 05:58:35 +00:00
|
|
|
homepage 'http://www.intra2net.com/en/developer/libftdi'
|
2012-03-19 21:59:17 +00:00
|
|
|
url "http://www.intra2net.com/en/developer/libftdi/download/libftdi-0.20.tar.gz"
|
|
|
|
md5 '355d4474e3faa81b485d6a604b06951f'
|
2009-12-24 11:17:36 +00:00
|
|
|
|
2010-11-05 00:32:03 +00:00
|
|
|
depends_on 'boost'
|
2009-12-24 11:17:36 +00:00
|
|
|
depends_on 'libusb-compat'
|
|
|
|
|
|
|
|
def install
|
2012-02-22 04:48:36 +00:00
|
|
|
mkdir 'libftdi-build' do
|
2010-11-05 00:32:03 +00:00
|
|
|
system "../configure", "--prefix=#{prefix}"
|
2009-12-24 11:17:36 +00:00
|
|
|
system "make"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|