homebrew-core/Formula/libwmf.rb

31 lines
927 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Libwmf < Formula
2009-12-04 16:40:55 +00:00
homepage 'http://wvware.sourceforge.net/libwmf.html'
url 'https://downloads.sourceforge.net/project/wvware/libwmf/0.2.8.4/libwmf-0.2.8.4.tar.gz'
sha1 '822ab3bd0f5e8f39ad732f2774a8e9f18fc91e89'
2014-03-23 02:51:41 +00:00
revision 1
2010-06-19 05:02:16 +00:00
2014-07-03 21:27:44 +00:00
bottle do
2014-10-19 22:28:13 +00:00
revision 1
sha1 "47baf7411f61408bd715f3f0570531080b3d8665" => :yosemite
sha1 "d195e1c4297a0563a021a76a5e1ee61dd2b1be4d" => :mavericks
2014-07-03 21:27:44 +00:00
end
depends_on 'pkg-config' => :build
depends_on 'gd'
2014-03-23 02:51:41 +00:00
depends_on 'freetype'
depends_on 'libpng'
depends_on 'jpeg'
def install
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}",
2014-03-06 02:12:51 +00:00
"--with-png=#{Formula["libpng"].opt_prefix}",
"--with-freetype=#{Formula["freetype"].opt_prefix}"
system "make"
ENV.j1 # yet another rubbish Makefile
system "make install"
end
end