class Libwmf < Formula desc "Library for converting WMF (Window Metafile Format) files" homepage "https://wvware.sourceforge.io/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 rebuild 1 sha256 "3b826d150b7a971d650454d6a82ad09ee2e1c9b9d1b19dda16d5d6e5023f4691" => :sierra sha256 "a062ace9cbca36cd99122a6389b80a431326de7ef362dc860c74b500ed35e64c" => :el_capitan sha256 "70682294445c1eb98008ffb13264be37f793c507aada2cdc108fcd8cd94ac97d" => :yosemite sha256 "b39df9b3664b7c4e747e1c931628d8bf11b5ad43ecfda5986399e12fdacb1508" => :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.deparallelize # yet another rubbish Makefile system "make", "install" end end