gdbm: use options dsl
This commit is contained in:
parent
ecdf91f881
commit
c3a021b742
1 changed files with 2 additions and 4 deletions
|
@ -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}",
|
||||
|
|
Loading…
Reference in a new issue