3c0c092b65
Update libftdi1.1.0 -> libftdi1-1.1. This update adds support for FT230X chips, among other things. Closes Homebrew/homebrew#27957. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
19 lines
494 B
Ruby
19 lines
494 B
Ruby
require 'formula'
|
|
|
|
class Libftdi < Formula
|
|
homepage 'http://www.intra2net.com/en/developer/libftdi'
|
|
url 'http://www.intra2net.com/en/developer/libftdi/download/libftdi1-1.1.tar.bz2'
|
|
sha1 'f05ade5614aa31e64f91a30ce3782f7ca3704d18'
|
|
|
|
depends_on 'cmake' => :build
|
|
depends_on 'pkg-config' => :build
|
|
depends_on 'libusb'
|
|
depends_on 'boost' => :optional
|
|
|
|
def install
|
|
mkdir 'libftdi-build' do
|
|
system "cmake", "..", *std_cmake_args
|
|
system "make install"
|
|
end
|
|
end
|
|
end
|