homebrew-core/Formula/libwmf.rb
BrewTestBot 95884bae22 Formula files style updates.
Closes Homebrew/homebrew#42407.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-08-03 14:21:42 +01:00

29 lines
1,004 B
Ruby

class Libwmf < Formula
desc "Library for converting WMF (Window Metafile Format) files"
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"
sha256 "5b345c69220545d003ad52bfd035d5d6f4f075e65204114a9e875e84895a7cf8"
revision 1
bottle do
revision 1
sha1 "47baf7411f61408bd715f3f0570531080b3d8665" => :yosemite
sha1 "d195e1c4297a0563a021a76a5e1ee61dd2b1be4d" => :mavericks
end
depends_on "pkg-config" => :build
depends_on "gd"
depends_on "freetype"
depends_on "libpng"
depends_on "jpeg"
def install
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--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