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"
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 '4bc6ce70c98a170ada303fbd00b8428d8a2c1aa2'
|
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
|