blob: 20430d90fc7e87695d02be1674a25774a14981ce (
plain)
| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
 | require 'formula'
class Pound < Formula
  homepage 'http://www.apsis.ch/pound'
  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"
    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
 |