2011-04-08 19:08:53 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Openslp < Formula
|
|
|
|
homepage 'http://www.openslp.org'
|
2013-01-29 04:59:39 +00:00
|
|
|
url 'http://downloads.sourceforge.net/project/openslp/OpenSLP/1.2.1/openslp-1.2.1.tar.gz'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 '47ab19154084d2b467f09525f5351e9ab7193cf9'
|
2011-04-08 19:08:53 +00:00
|
|
|
|
|
|
|
def patches
|
|
|
|
# patch for adding in missing slp_net symbols
|
2013-01-29 04:59:39 +00:00
|
|
|
{ :p0 =>
|
|
|
|
"https://trac.macports.org/export/78024/trunk/dports/devel/openslp/files/patch-slp_net.txt"
|
|
|
|
}
|
2011-04-08 19:08:53 +00:00
|
|
|
end
|
2013-01-29 04:59:39 +00:00
|
|
|
|
2011-04-08 19:08:53 +00:00
|
|
|
def install
|
|
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|