2019-08-04 23:12:55 +00:00
|
|
|
#!/bin/sh -e
|
|
|
|
|
2019-08-18 10:54:00 +00:00
|
|
|
# Disable building 'cairo-sphinx'.
|
2021-07-03 21:32:12 +00:00
|
|
|
sed -e "s/\(BUILD_SPHINX_TRUE=\)/\1'#'/" \
|
|
|
|
-e "s/\(BUILD_SPHINX_FALSE=\)'#'/\1=/" \
|
|
|
|
configure > _
|
|
|
|
mv -f _ configure
|
|
|
|
chmod +x configure
|
2019-08-18 10:54:00 +00:00
|
|
|
|
2021-07-05 21:36:47 +00:00
|
|
|
# Disable building tests and documentation.
|
2021-07-28 09:31:46 +00:00
|
|
|
sed 's/boilerplate test perf//g;s/src doc/src/g' Makefile.in > _
|
2021-07-03 21:32:12 +00:00
|
|
|
mv -f _ Makefile.in
|
2020-05-29 10:16:21 +00:00
|
|
|
|
2019-08-04 23:12:55 +00:00
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--disable-static \
|
|
|
|
--enable-tee \
|
2021-07-08 07:44:41 +00:00
|
|
|
--disable-xlib-xcb \
|
|
|
|
--disable-xcb \
|
|
|
|
--disable-xlib-xrender \
|
|
|
|
--disable-xlib \
|
2019-08-18 10:54:00 +00:00
|
|
|
--disable-trace \
|
|
|
|
--disable-valgrind \
|
|
|
|
--disable-gtk-doc-html
|
2019-08-04 23:12:55 +00:00
|
|
|
|
|
|
|
make
|
2021-07-17 17:36:41 +00:00
|
|
|
make install
|