diff options
| author | Adam Vandenberg | 2013-11-17 11:28:26 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2013-11-17 11:28:26 -0800 |
| commit | 73f0d60e81a830ff4b8afc8a8292abb5f605445a (patch) | |
| tree | b28e7961207a5c199d8665abd0ff703858c094b4 /Library/Formula | |
| parent | 3432078bcd65289ef117d09f3a9e103a47eb9c69 (diff) | |
| download | homebrew-73f0d60e81a830ff4b8afc8a8292abb5f605445a.tar.bz2 | |
import fsv from homebrew-x11
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/fsv.rb | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/Library/Formula/fsv.rb b/Library/Formula/fsv.rb new file mode 100644 index 000000000..5c207d7cf --- /dev/null +++ b/Library/Formula/fsv.rb @@ -0,0 +1,31 @@ +require 'formula' + +class Fsv < Formula + homepage 'http://fsv.sourceforge.net/' + url 'https://github.com/natritmeyer/fsv.git', :tag => 'v0.9.1' + # See https://github.com/mxcl/homebrew/pull/19161 for discussion and + # reason about why we use this fork here. Eventually upstream at + # 'https://github.com/mcuelenaere/fsv.git' should add tags! + # Also note the sourceforge repo (but that seems no longer maintained.) + + depends_on :x11 + depends_on 'gtk+' + depends_on :automake + depends_on :libtool + depends_on 'pkg-config' => :build + depends_on 'gtkglarea' + + def install + inreplace 'autogen.sh' do |s| + s.gsub! 'libtoolize', 'glibtoolize' + end + + inreplace 'configure.in' do |s| + s.gsub! 'AM_CONFIG_HEADER', 'AC_CONFIG_HEADERS' + end + + system "sh", "autogen.sh" + system "./configure", "--prefix=#{prefix}" + system "make", "install" + end +end |
