netpbm: add universal option

Closes Homebrew/homebrew#30839.
This commit is contained in:
Adam Vandenberg 2014-07-14 20:48:20 -07:00
parent cb9a152667
commit 787689e189

View file

@ -10,11 +10,15 @@ class Netpbm < Formula
head 'http://svn.code.sf.net/p/netpbm/code/trunk'
option :universal
depends_on "libtiff"
depends_on "jasper"
depends_on "libpng"
def install
ENV.universal_binary if build.universal?
system "cp", "config.mk.in", "config.mk"
inreplace "config.mk" do |s|