2010-01-17 01:13:10 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Httping < Formula
|
2012-01-01 22:48:02 +00:00
|
|
|
url 'http://www.vanheusden.com/httping/httping-1.4.4.tgz'
|
2010-01-17 01:13:10 +00:00
|
|
|
homepage 'http://www.vanheusden.com/httping/'
|
2012-01-01 22:48:02 +00:00
|
|
|
md5 'e36bb30bd758c766d7260bdde6fe6450'
|
|
|
|
|
|
|
|
def patches
|
|
|
|
# fixes conflicting definitions of strdup()
|
2012-01-23 01:13:47 +00:00
|
|
|
{ :p0 => 'https://trac.macports.org/export/88419/trunk/dports/net/httping/files/patch-strndup.diff' }
|
2012-01-01 22:48:02 +00:00
|
|
|
end
|
2010-01-17 01:13:10 +00:00
|
|
|
|
|
|
|
def install
|
2012-05-15 18:31:21 +00:00
|
|
|
system "make", "install", "PREFIX=#{prefix}"
|
2010-01-17 01:13:10 +00:00
|
|
|
end
|
|
|
|
end
|