95884bae22
Closes Homebrew/homebrew#42407. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
22 lines
720 B
Ruby
22 lines
720 B
Ruby
class Popt < Formula
|
|
desc "Library like getopt(3) with a number of enhancements"
|
|
homepage "http://rpm5.org"
|
|
url "http://rpm5.org/files/popt/popt-1.16.tar.gz"
|
|
sha256 "e728ed296fe9f069a0e005003c3d6b2dde3d9cad453422a10d6558616d304cc8"
|
|
|
|
bottle do
|
|
revision 1
|
|
sha1 "20ebf6ad6a0e618c6e14249179ebfaa49ceea1a0" => :yosemite
|
|
sha1 "ffa33727245492f9583a7e6905bbeef7454b96c8" => :mavericks
|
|
sha1 "d4736bc9459f25b0d4c267d364798e6614fbbbda" => :mountain_lion
|
|
end
|
|
|
|
option :universal
|
|
|
|
def install
|
|
ENV.universal_binary if build.universal?
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
"--prefix=#{prefix}"
|
|
system "make", "install"
|
|
end
|
|
end
|