diff options
| author | Adam Vandenberg | 2010-04-06 22:58:35 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2010-08-07 18:08:53 -0700 |
| commit | d0efd9ee94a55e243f3b10e903526274fc21d569 (patch) | |
| tree | b21984390a0292957a3819df57c62bac558d284d /Library/Formula/libftdi.rb | |
| parent | cdf768bc328f01e64e9f74551ff4b40d5cf0da70 (diff) | |
| download | homebrew-d0efd9ee94a55e243f3b10e903526274fc21d569.tar.bz2 | |
Update formulae for version 0.7
* Use new "url" features
* Use keg_only DSL
* Use "skip_clean :all" DSL
* Whitespace and style cleanups
* Make bash invocations less silly
* Use new man2-man8 helpers
* Remove "FileUtils." since it is included in Formula
* Use real names for deps instead of aliases
* ENV.x11 now updates path, so remove that from individual brews
Diffstat (limited to 'Library/Formula/libftdi.rb')
| -rw-r--r-- | Library/Formula/libftdi.rb | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/Library/Formula/libftdi.rb b/Library/Formula/libftdi.rb index c2c4180cc..7c971a436 100644 --- a/Library/Formula/libftdi.rb +++ b/Library/Formula/libftdi.rb @@ -1,9 +1,9 @@ require 'formula' class Libftdi <Formula - @url="http://www.intra2net.com/en/developer/libftdi/download/libftdi-0.17.tar.gz" - @homepage='http://www.intra2net.com/en/developer/libftdi' - @md5='810c69cfaa078b49795c224ef9b6b851' + url "http://www.intra2net.com/en/developer/libftdi/download/libftdi-0.17.tar.gz" + homepage 'http://www.intra2net.com/en/developer/libftdi' + md5 '810c69cfaa078b49795c224ef9b6b851' depends_on 'cmake' depends_on 'libusb-compat' @@ -13,8 +13,7 @@ class Libftdi <Formula end def install - FileUtils.mkdir 'libftdi-build' - + mkdir 'libftdi-build' Dir.chdir 'libftdi-build' do system "cmake .. #{std_cmake_parameters}" system "make" |
