From feba295780ea55e9da1b375c7ebf99f151994db3 Mon Sep 17 00:00:00 2001 From: Jeffrey Wildman Date: Thu, 14 May 2015 14:00:47 -0400 Subject: [PATCH] Create usbredir.rb --- usbredir.rb | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 usbredir.rb diff --git a/usbredir.rb b/usbredir.rb new file mode 100644 index 0000000..a814899 --- /dev/null +++ b/usbredir.rb @@ -0,0 +1,17 @@ +class Usbredir < Formula + homepage "http://www.spice-space.org/home.html" + url "http://www.spice-space.org/download/usbredir/usbredir-0.7.tar.bz2" + sha256 "0a63a0712b5dc62be9cca44f97270fea5d1ec1fe7dde0c11dc74a01c8e2006aa" + + depends_on "pkg-config" => :build + depends_on "libtool" => :build + + depends_on "libusb" + + def install + system "./configure", "--disable-dependency-tracking", + "--disable-silent-rules", + "--prefix=#{prefix}" + system "make", "install" + end +end