diff options
| author | Chris Atwood | 2010-11-04 20:32:03 -0400 |
|---|---|---|
| committer | Adam Vandenberg | 2010-11-05 21:47:08 -0700 |
| commit | 4bf1a428454f21b2621717381a38bbc7b4d3733a (patch) | |
| tree | 5c1ac9d1d55bb7fb864b1669af600c391b78f5d3 /Library | |
| parent | 128146dc3c33c783e0e622fb4779ad769d774745 (diff) | |
| download | homebrew-4bf1a428454f21b2621717381a38bbc7b4d3733a.tar.bz2 | |
libftdi - fix deps
Removing cmake dependence & adding boost -- now builds cleanly
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/libftdi.rb | 36 |
1 files changed, 2 insertions, 34 deletions
diff --git a/Library/Formula/libftdi.rb b/Library/Formula/libftdi.rb index 2111d5382..1d3ce5ebb 100644 --- a/Library/Formula/libftdi.rb +++ b/Library/Formula/libftdi.rb @@ -5,47 +5,15 @@ class Libftdi <Formula homepage 'http://www.intra2net.com/en/developer/libftdi' md5 '810c69cfaa078b49795c224ef9b6b851' - depends_on 'cmake' => :build + depends_on 'boost' depends_on 'libusb-compat' - def patches - DATA - end - def install mkdir 'libftdi-build' Dir.chdir 'libftdi-build' do - system "cmake .. #{std_cmake_parameters}" + system "../configure", "--prefix=#{prefix}" system "make" system "make install" end end end - -__END__ ---- a/CMakeLists.txt 2009-12-24 12:09:27.000000000 +0100 -+++ b/CMakeLists.txt 2009-12-24 12:11:07.000000000 +0100 -@@ -38,14 +38,8 @@ - set(CPACK_COMPONENT_STATICLIBS_GROUP "Development") - set(CPACK_COMPONENT_HEADERS_GROUP "Development") - --# Create suffix to eventually install in lib64 --IF(CMAKE_SIZEOF_VOID_P EQUAL 4) -- SET(LIB_SUFFIX "") -- SET(PACK_ARCH "") -- ELSE(CMAKE_SIZEOF_VOID_P EQUAL 4) -- SET(LIB_SUFFIX 64) -- SET(PACK_ARCH .x86_64) --endif(CMAKE_SIZEOF_VOID_P EQUAL 4) -+SET(LIB_SUFFIX "") -+SET(PACK_ARCH "") - - # Package information - set(CPACK_PACKAGE_VERSION ${VERSION_STRING}) -@@ -85,8 +79,6 @@ - - add_subdirectory(src) - add_subdirectory(ftdipp) --add_subdirectory(bindings) --add_subdirectory(examples) - add_subdirectory(packages) |
