aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/httping.rb
blob: a74723c6ae256d75a40cfa927355abf158d3203f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
require 'formula'

class Httping < Formula
  homepage 'http://www.vanheusden.com/httping/'
  url 'http://www.vanheusden.com/httping/httping-2.1.tgz'
  sha1 '882f3d34680b5d03693e710c5c7ccdbb8a145a5f'

  def patches
    # fixes conflicting definitions of strdup()
    { :p0 => 'https://trac.macports.org/export/88419/trunk/dports/net/httping/files/patch-strndup.diff' }
  end

  def install
    system "make", "install", "PREFIX=#{prefix}"
  end
end