libetonyek: revision for mdds
Closes #6583. Signed-off-by: ilovezfs <ilovezfs@icloud.com>
This commit is contained in:
parent
63dc619799
commit
2bcbb5ac04
1 changed files with 13 additions and 1 deletions
|
@ -3,6 +3,7 @@ class Libetonyek < Formula
|
|||
homepage "https://wiki.documentfoundation.org/DLP/Libraries/libetonyek"
|
||||
url "http://dev-www.libreoffice.org/src/libetonyek/libetonyek-0.1.6.tar.xz"
|
||||
sha256 "df54271492070fbcc6aad9f81ca89658b25dd106cc4ab6b04b067b7a43dcc078"
|
||||
revision 1
|
||||
|
||||
bottle do
|
||||
sha256 "f464e2657607f9ad9701f12a1aa820fc91d8f1f5c119913b6f0aaf50baf44bf4" => :el_capitan
|
||||
|
@ -10,6 +11,8 @@ class Libetonyek < Formula
|
|||
sha256 "87b99a5d084d752b4f4d53f63f7bcbdb6908a5b21a37eb021e16f1b5c3b5e4da" => :mavericks
|
||||
end
|
||||
|
||||
depends_on "autoconf" => :build
|
||||
depends_on "automake" => :build
|
||||
depends_on "pkg-config" => :build
|
||||
depends_on "boost" => :build
|
||||
depends_on "gnu-sed" => :build
|
||||
|
@ -22,6 +25,13 @@ class Libetonyek < Formula
|
|||
sha256 "08e2f64bfe3f750be7391eb0af53967e164b628c59f02be4d83789eb4f036eaa"
|
||||
end
|
||||
|
||||
# Remove for > 0.1.6
|
||||
# upstream commit adding support for mdds 1.2 API in configure
|
||||
patch do
|
||||
url "https://github.com/LibreOffice/libetonyek/commit/f6d14b3.patch"
|
||||
sha256 "26022cb803763b83f4458517a63bfc7ad34e7f8cc0ad30175a3da7802263eeb5"
|
||||
end
|
||||
|
||||
def install
|
||||
resource("liblangtag").stage do
|
||||
ENV.prepend_path "PATH", Formula["gnu-sed"].opt_libexec/"gnubin"
|
||||
|
@ -32,12 +42,14 @@ class Libetonyek < Formula
|
|||
|
||||
ENV["LANGTAG_CFLAGS"] = "-I#{libexec}/include"
|
||||
ENV["LANGTAG_LIBS"] = "-L#{libexec}/lib -llangtag -lxml2"
|
||||
system "autoreconf", "-v" # Remove for > 0.1.6
|
||||
system "./configure", "--without-docs",
|
||||
"--disable-dependency-tracking",
|
||||
"--enable-static=no",
|
||||
"--disable-werror",
|
||||
"--disable-tests",
|
||||
"--prefix=#{prefix}"
|
||||
"--prefix=#{prefix}",
|
||||
"--with-mdds=1.2"
|
||||
system "make", "install"
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue