diff options
| author | Sebastian Hillig | 2011-06-08 22:26:05 -0700 |
|---|---|---|
| committer | Mike McQuaid | 2012-01-19 22:40:35 +0000 |
| commit | 83b12ea2b9442e80cb2ed9f6b566aa3f965fdb23 (patch) | |
| tree | 57a353111a748af1edecfffe94f4178f8d7177f2 /Library/Formula/libcsv.rb | |
| parent | 66472f6a31e6e1a32b299d631681678d33489db5 (diff) | |
| download | homebrew-83b12ea2b9442e80cb2ed9f6b566aa3f965fdb23.tar.bz2 | |
Add formula for libcsv
Closes #6214.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula/libcsv.rb')
| -rw-r--r-- | Library/Formula/libcsv.rb | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Library/Formula/libcsv.rb b/Library/Formula/libcsv.rb new file mode 100644 index 000000000..40d11ab83 --- /dev/null +++ b/Library/Formula/libcsv.rb @@ -0,0 +1,20 @@ +require 'formula' + +class Libcsv < Formula + url 'http://downloads.sourceforge.net/project/libcsv/libcsv/libcsv-3.0.1/libcsv-3.0.1.tar.gz' + homepage 'http://sourceforge.net/projects/libcsv/' + md5 '926b55d732b775a49ed2539c4db5c102' + + def install + inreplace 'Makefile' do |s| + s.change_make_var! "INCDIR", include + s.change_make_var! "MANDIR", man + s.change_make_var! "LIBDIR", lib + end + man.mkpath + lib.mkpath + include.mkpath + system "make" + system "make install" + end +end |
