homebrew-core/Formula/r3.rb
Lin Jen-Shin 531ddccbda New formula: r3
Add r3, a high-performance URL router library.

Closes Homebrew/homebrew#29517.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-06-05 11:36:23 -05:00

25 lines
694 B
Ruby

require "formula"
class R3 < Formula
homepage "https://github.com/c9s/r3"
url "https://github.com/c9s/r3/archive/1.0.0.tar.gz"
sha1 "2cc3b1bac5ce83d884cd77639407198ec3c08b84"
head "https://github.com/c9s/r3.git"
depends_on "autoconf" => :build
depends_on "automake" => :build
depends_on "libtool" => :build
depends_on "pkg-config" => :build
depends_on "check" => :build
depends_on "pcre"
def install
system "./autogen.sh"
system "./configure", "--disable-debug",
"--disable-dependency-tracking",
"--disable-silent-rules",
"--prefix=#{prefix}"
system "make", "install"
end
end