mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-11-28 03:49:49 -05:00
jbigkit: make universal optional
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
1 parent
0f1f0e5142
commit
e2a14048c1
1 file changed
+2
-1
@@ -5,12 +5,13 @@ class Jbigkit < Formula
|
||||
url 'http://www.cl.cam.ac.uk/~mgk25/download/jbigkit-2.0.tar.gz'
|
||||
sha1 'cfb7d3121f02a74bfb229217858a0d149b6589ef'
|
||||
|
||||
option :universal
|
||||
option 'with-check', "Verify the library during install"
|
||||
|
||||
def install
|
||||
# Set for a universal build and patch the Makefile.
|
||||
# There's no configure. It creates a static lib.
|
||||
ENV.universal_binary
|
||||
ENV.universal_binary if build.universal?
|
||||
system "make", "CC=#{ENV.cc}", "CCFLAGS=#{ENV.cflags}"
|
||||
|
||||
# It needs j1 to make the tests happen in sequence.
|
||||
|
||||
Reference in new issue
Block a user