mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-12-02 21:49:49 -05:00
jansson: use options dsl
This commit is contained in:
1 parent
107da865ce
commit
d3e27ec74c
1 file changed
+2
-4
@@ -5,12 +5,10 @@ class Jansson < Formula
|
||||
url 'http://www.digip.org/jansson/releases/jansson-2.3.1.tar.bz2'
|
||||
sha1 'af7497d930423088fa6d0699d84740fffa0c98df'
|
||||
|
||||
def options
|
||||
[["--universal", "Build a universal binary."]]
|
||||
end
|
||||
option :universal
|
||||
|
||||
def install
|
||||
ENV.universal_binary if ARGV.build_universal?
|
||||
ENV.universal_binary if build.universal?
|
||||
system "./configure", "--disable-dependency-tracking",
|
||||
"--prefix=#{prefix}"
|
||||
system "make install"
|
||||
|
||||
Reference in new issue
Block a user