diff options
| author | Konstantin Käfer | 2011-01-24 10:31:45 -0500 |
|---|---|---|
| committer | Mike McQuaid | 2011-02-02 22:04:54 +0000 |
| commit | 452e6c615008f58b4f9120642c476eb5f56af197 (patch) | |
| tree | 4189d58b41e1efc51f67747eb1e161137d3e1b09 /Library | |
| parent | 577a16047d3ba3fda8b5e0ee0d0c717c24833d2c (diff) | |
| download | homebrew-452e6c615008f58b4f9120642c476eb5f56af197.tar.bz2 | |
Add libzip from http://www.nih.at/libzip/
Closes #3998.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/libzip.rb | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Library/Formula/libzip.rb b/Library/Formula/libzip.rb new file mode 100644 index 000000000..253085499 --- /dev/null +++ b/Library/Formula/libzip.rb @@ -0,0 +1,13 @@ +require 'formula' + +class Libzip <Formula + url 'http://www.nih.at/libzip/libzip-0.9.3.tar.bz2' + homepage 'http://www.nih.at/libzip/' + md5 '27610091ca27bf843a6646cd05de35b9' + + def install + system "./configure", "--prefix=#{prefix}", "--mandir=#{man}", + "CXX=#{ENV.cxx}", "CXXFLAGS=#{ENV.cflags}" + system "make install" + end +end |
