32 lines
1 KiB
Ruby
32 lines
1 KiB
Ruby
class GupnpTools < Formula
|
|
desc "Free replacements of Intel's UPnP tools."
|
|
homepage "https://wiki.gnome.org/GUPnP/"
|
|
url "https://download.gnome.org/sources/gupnp-tools/0.8/gupnp-tools-0.8.10.tar.xz"
|
|
sha256 "592c53289ff1cd70e676405c56ca87b28d2da37a385d34a3bb9b944ba9108d17"
|
|
|
|
bottle do
|
|
sha256 "f136c24128d85cf73a05cde6e7debbafe69cd11cb9a58c2b8a70d027b171af20" => :yosemite
|
|
sha256 "b1b64ff86b74b5bd9ccec60ab77eaa5f61ea593ee029f5e31bedb178422c741d" => :mavericks
|
|
sha256 "790821aad6ce8ea5b1b677372b1790133134ef3e7e2e4119ec3fcea2c7172aae" => :mountain_lion
|
|
end
|
|
|
|
depends_on "pkg-config" => :build
|
|
depends_on "intltool" => :build
|
|
depends_on "gettext"
|
|
depends_on "gupnp"
|
|
depends_on "gupnp-av"
|
|
depends_on "gtk+3"
|
|
depends_on "gtksourceview3"
|
|
depends_on "ossp-uuid"
|
|
|
|
def install
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
"--prefix=#{prefix}"
|
|
system "make", "install"
|
|
end
|
|
|
|
test do
|
|
system "#{bin}/gupnp-universal-cp", "-h"
|
|
system "#{bin}/gupnp-av-cp", "-h"
|
|
end
|
|
end
|