diff options
Diffstat (limited to 'extra/cairo/build')
-rwxr-xr-x | extra/cairo/build | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/extra/cairo/build b/extra/cairo/build new file mode 100755 index 00000000..90ed8ead --- /dev/null +++ b/extra/cairo/build @@ -0,0 +1,27 @@ +#!/bin/sh -e + +sed_i() { + for file; do :; done + sed "$@" >_ + cat _ > "$file"; rm -f _ +} + +# Disable building 'cairo-sphinx'. +sed_i "s/BUILD_SPHINX_TRUE=/BUILD_SPHINX_TRUE='#'/" configure +sed_i "s/BUILD_SPHINX_FALSE='#'/BUILD_SPHINX_FALSE=/" configure + +./configure \ + --prefix=/usr \ + --enable-tee \ + --enable-gl \ + --enable-egl \ + --enable-xlib-xcb \ + --enable-xcb \ + --enable-xlib-xrender \ + --enable-xlib \ + --disable-trace \ + --disable-valgrind \ + --disable-gtk-doc-html + +make +make DESTDIR="$1" install |