diff options
| author | Mike McQuaid | 2014-07-31 11:44:40 +0200 |
|---|---|---|
| committer | Mike McQuaid | 2014-07-31 11:44:50 +0200 |
| commit | 8d605ede07cbc6800a49804ef14866cf56dab101 (patch) | |
| tree | 33696434df3260fffae2e10643306dd11813c51c /Library/Formula | |
| parent | 8f59be5fec3bb74e2e1ece4c7fd89df3887dea9a (diff) | |
| download | homebrew-8d605ede07cbc6800a49804ef14866cf56dab101.tar.bz2 | |
Revert libcdr 0.1.0
This reverts commit 982cd588098924254759b4188750e5af6d503fda and
a77baa992c7c50c3ae31a2ec10f47fff690841ee.
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/libcdr.rb | 41 |
1 files changed, 0 insertions, 41 deletions
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 <libcdr/libcdr.h> - 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 |
