Skip to content

Commit 6af0c5f

Browse files
committed
libwps: remove boost and libwpd dependencies
1 parent 733dbf2 commit 6af0c5f

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

Formula/lib/libwps.rb

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,8 @@ class Libwps < Formula
2626
sha256 cellar: :any_skip_relocation, x86_64_linux: "1947ed7197be31c9abf52b092a535de6d3d1416c9fef915661ba81da4cee37b6"
2727
end
2828

29-
depends_on "boost" => :build
3029
depends_on "pkgconf" => :build
3130
depends_on "librevenge"
32-
depends_on "libwpd"
3331

3432
def install
3533
# Installing Doxygen docs trips up make install
@@ -45,13 +43,10 @@ def install
4543
}
4644
CPP
4745
system ENV.cc, "test.cpp", "-o", "test",
48-
"-lrevenge-0.0",
46+
"-I#{include}/libwps-0.4",
4947
"-I#{Formula["librevenge"].include}/librevenge-0.0",
50-
"-L#{Formula["librevenge"].lib}",
51-
"-lwpd-0.10",
52-
"-I#{Formula["libwpd"].include}/libwpd-0.10",
53-
"-L#{Formula["libwpd"].lib}",
54-
"-lwps-0.4", "-I#{include}/libwps-0.4", "-L#{lib}"
48+
"-L#{lib}", "-lwps-0.4",
49+
"-L#{Formula["librevenge"].lib}", "-lrevenge-0.0"
5550
system "./test"
5651
end
5752
end

0 commit comments

Comments
 (0)