homebrew-core/Formula/libwmf.rb
Max Howell 61b2307139 s/require 'brewkit'/require 'formula'/g
brewkit.rb changes ENV destructively, so lets not do that everytime a formula
is required. Now it's possible for other tools to require a formula
description without worrying about side-effects.
2009-10-15 16:48:03 +01:00

16 lines
426 B
Ruby

require 'formula'
class Libwmf <Formula
@url='http://downloads.sourceforge.net/project/wvware/libwmf/0.2.8.4/libwmf-0.2.8.4.tar.gz'
@homepage='http://wvware.sourceforge.net/libwmf.html'
@md5='d1177739bf1ceb07f57421f0cee191e0'
def install
ENV.libpng
system "./configure", "--prefix=#{prefix}", "--disable-debug"
system "make"
ENV.j1 # yet another rubbish Makefile
system "make install"
end
end