homebrew-core/Formula/popt.rb
2019-01-25 14:42:16 +00:00

23 lines
1 KiB
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"
mirror "https://ftp.openbsd.org/pub/OpenBSD/distfiles/popt-1.16.tar.gz"
sha256 "e728ed296fe9f069a0e005003c3d6b2dde3d9cad453422a10d6558616d304cc8"
bottle do
rebuild 1
sha256 "20b8ee08d436d2d37782ecddc315cfa1598bd50765e8089070c8b1d1e8355c69" => :mojave
sha256 "242ffcbf7f9796f970d45612b025d8be787f739aa5f16a02ce097196d3f56941" => :high_sierra
sha256 "ceae94fc8e588309670a7a045186eee8ff3a9966a68650f044a14d101267b7b2" => :sierra
sha256 "60a7f19e8fecafd92a5beb7d6438efac915e8f3afe3d83575fb64bb4a6190aab" => :el_capitan
sha256 "56d1104516e23bb314a248904b8ec85afe2fdbf71555417eb8f91edc1286e6da" => :yosemite
sha256 "ba122e7f34b9b03ab5a32ab01124b61eb608c29e0c0d023462953ed03782dd2a" => :mavericks
end
def install
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make", "install"
end
end