aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/libftdi0.rb17
1 files changed, 17 insertions, 0 deletions
diff --git a/Library/Formula/libftdi0.rb b/Library/Formula/libftdi0.rb
new file mode 100644
index 000000000..edee3715f
--- /dev/null
+++ b/Library/Formula/libftdi0.rb
@@ -0,0 +1,17 @@
+require 'formula'
+
+class Libftdi0 < Formula
+ homepage 'http://www.intra2net.com/en/developer/libftdi'
+ url "http://www.intra2net.com/en/developer/libftdi/download/libftdi-0.20.tar.gz"
+ sha1 '4bc6ce70c98a170ada303fbd00b8428d8a2c1aa2'
+
+ depends_on 'libusb-compat'
+
+ def install
+ mkdir 'libftdi-build' do
+ system "../configure", "--prefix=#{prefix}"
+ system "make"
+ system "make install"
+ end
+ end
+end