homebrew-core/Formula/pound.rb

21 lines
499 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Pound < Formula
homepage 'http://www.apsis.ch/pound'
2012-02-11 04:08:48 +00:00
url 'http://www.apsis.ch/pound/Pound-2.6.tgz'
sha1 '91ba84c6db579b06dc82fceb790e55e344b1dc40'
depends_on 'pcre'
def install
# find Homebrew's libpcre
ENV.append 'LDFLAGS', "-L#{HOMEBREW_PREFIX}/lib"
2012-02-11 04:08:48 +00:00
system "./configure", "--prefix=#{prefix}"
system "make"
# Manual install to get around group issues
sbin.install "pound", "poundctl"
man8.install "pound.8", "poundctl.8"
end
end