homebrew-core/Formula/popt.rb
2013-08-06 07:33:41 -07:00

16 lines
413 B
Ruby

require 'formula'
class Popt < Formula
homepage 'http://rpm5.org'
url 'http://rpm5.org/files/popt/popt-1.16.tar.gz'
sha1 'cfe94a15a2404db85858a81ff8de27c8ff3e235e'
option :universal
def install
ENV.universal_binary if build.universal?
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
end