mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-11-30 12:39:48 -05:00
gdbm: use options dsl
This commit is contained in:
1 parent
80c8e7e746
commit
b27d6483cb
1 file changed
+2
-4
@@ -6,12 +6,10 @@ class Gdbm < Formula
|
||||
mirror 'http://ftp.gnu.org/gnu/gdbm/gdbm-1.10.tar.gz'
|
||||
md5 '88770493c2559dc80b561293e39d3570'
|
||||
|
||||
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}",
|
||||
"--mandir=#{man}",
|
||||
|
||||
Reference in new issue
Block a user