blob: 8c51cf02068394a05ebde56666d6035a8e98d4b4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
require 'formula'
class Openslp < Formula
url 'http://downloads.sourceforge.net/project/openslp/OpenSLP/1.2.1/openslp-1.2.1.tar.gz'
homepage 'http://www.openslp.org'
sha1 '47ab19154084d2b467f09525f5351e9ab7193cf9'
def patches
# patch for adding in missing slp_net symbols
{ :p0 => "https://trac.macports.org/export/78024/trunk/dports/devel/openslp/files/patch-slp_net.txt"}
end
def install
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
end
|