2010-03-06 10:37:37 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-29 19:16:39 +00:00
|
|
|
# Versions newer than 1.6.6 cause problems compiling ushare
|
|
|
|
# If you update this formula, please "brew install -v ushare"
|
|
|
|
|
2010-03-06 10:37:37 +00:00
|
|
|
class Libupnp < Formula
|
|
|
|
homepage 'http://pupnp.sourceforge.net/'
|
2013-01-29 05:29:01 +00:00
|
|
|
url 'http://downloads.sourceforge.net/project/pupnp/pupnp/libUPnP%201.6.6/libupnp-1.6.6.tar.bz2'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 '24c2c349cb52ed3d62121fbdae205c8d9dc0f5fa'
|
2010-03-06 10:37:37 +00:00
|
|
|
|
|
|
|
def install
|
2011-03-29 19:16:39 +00:00
|
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}"
|
2010-03-06 10:37:37 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|