From bdd65fd52dd50c2eb3064e5d6a12d82dffbba7b8 Mon Sep 17 00:00:00 2001 From: Jeffrey Wildman Date: Thu, 10 Jan 2019 21:54:14 -0500 Subject: [PATCH] spice-protocol: merged into homebrew-core --- spice-protocol.rb | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 spice-protocol.rb diff --git a/spice-protocol.rb b/spice-protocol.rb deleted file mode 100644 index 1daa9bd..0000000 --- a/spice-protocol.rb +++ /dev/null @@ -1,26 +0,0 @@ -class SpiceProtocol < Formula - desc "Headers for SPICE protocol" - homepage "https://www.spice-space.org/" - url "https://www.spice-space.org/download/releases/spice-protocol-0.12.14.tar.bz2" - sha256 "20350bc4309039fdf0d29ee4fd0033cde27bccf33501e13b3c1befafde9d0c9c" - revision 1 - - def install - system "./configure", "--disable-silent-rules", - "--prefix=#{prefix}" - system "make", "install" - end - - test do - (testpath/"test.cpp").write <<~EOS - #include - int main() { - return (SPICE_LINK_ERR_OK == 0) ? 0 : 1; - } - EOS - system ENV.cc, "test.cpp", - "-I#{include}/spice-1", - "-o", "test" - system "./test" - end -end