aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorRyan Fowler2011-04-08 14:08:53 -0500
committerAdam Vandenberg2011-06-08 21:20:47 -0700
commit43a58e90187d02b0d1dc6df1c0bc3160309ad1b6 (patch)
tree49199b14eeffa54fcf527ba8fd436f4cfd0d08dd /Library
parentb284240860908e996ec815cfe23bc5ba4d140704 (diff)
downloadhomebrew-43a58e90187d02b0d1dc6df1c0bc3160309ad1b6.tar.bz2
openslp 1.2.1
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/openslp.rb17
1 files changed, 17 insertions, 0 deletions
diff --git a/Library/Formula/openslp.rb b/Library/Formula/openslp.rb
new file mode 100644
index 000000000..d2349480c
--- /dev/null
+++ b/Library/Formula/openslp.rb
@@ -0,0 +1,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'
+ md5 'ff9999d1b44017281dd00ed2c4d32330'
+
+ 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