forked from adymo/homebrew-kde
-
Notifications
You must be signed in to change notification settings - Fork 0
/
libetonyek.rb
27 lines (24 loc) · 855 Bytes
/
libetonyek.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
require 'formula'
class Libetonyek < Formula
homepage 'http://www.freedesktop.org/wiki/Software/libetonyek/'
url 'http://dev-www.libreoffice.org/src/libetonyek-0.0.3.tar.xz'
sha1 '8831621fb585aec5747a55cc0030e4ab646afb0f'
depends_on 'pkg-config' => :build
depends_on 'boost' => :build
depends_on 'libtool' => :build
depends_on 'autoconf' => :build
depends_on 'automake' => :build
depends_on 'libwpd'
def install
system "./autogen.sh"
system "./configure", "--without-docs",
"--disable-dependency-tracking",
"--enable-static=no",
"--disable-werror",
"--disable-tests",
"--prefix=#{prefix}"
system "make"
ENV.deparallelize # Needs a serialized install
system "make install"
end
end