From 8d605ede07cbc6800a49804ef14866cf56dab101 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Thu, 31 Jul 2014 11:44:40 +0200 Subject: Revert libcdr 0.1.0 This reverts commit 982cd588098924254759b4188750e5af6d503fda and a77baa992c7c50c3ae31a2ec10f47fff690841ee. --- Library/Formula/libcdr.rb | 41 ----------------------------------------- 1 file changed, 41 deletions(-) delete mode 100644 Library/Formula/libcdr.rb (limited to 'Library/Formula') diff --git a/Library/Formula/libcdr.rb b/Library/Formula/libcdr.rb deleted file mode 100644 index 40ee0ac98..000000000 --- a/Library/Formula/libcdr.rb +++ /dev/null @@ -1,41 +0,0 @@ -require "formula" - -class Libcdr < Formula - homepage "https://wiki.documentfoundation.org/DLP/Libraries/libcdr" - url "http://dev-www.libreoffice.org/src/libcdr/libcdr-0.1.0.tar.bz2" - sha1 "fea63690acea2b9eac5dc6f51232154b7bb41a9e" - - - bottle do - cellar :any - sha1 "ceb4998a2eb3214be43b10319385bb207c1f80ff" => :mavericks - sha1 "bbc9f84e75033208e7647fc887f27b78b50941eb" => :mountain_lion - sha1 "1ff8850e4c9ce77eae40753e3ea5ad8bdf5949bc" => :lion - end - - depends_on "pkg-config" => :build - depends_on "boost" => :build - depends_on "icu4c" - depends_on "librevenge" - depends_on "little-cms2" - - needs :cxx11 - - def install - ENV.libcxx - ENV.cxx11 - system "./configure", "--disable-werror", - "--without-docs" - system "make", "install" - end - - test do - (testpath/'test.cpp').write <<-EOS.undent - #include - int main() { - libcdr::CDRDocument::isSupported(0); - } - EOS - system ENV.cxx, "test.cpp", "-I#{Formula["librevenge"].include}/librevenge-0.0", "-I#{HOMEBREW_PREFIX}/include/libcdr-0.1", "-lcdr-0.1" - end -end -- cgit v1.2.3