aboutsummaryrefslogtreecommitdiff
path: root/xorg/cairo/build
diff options
context:
space:
mode:
Diffstat (limited to 'xorg/cairo/build')
-rwxr-xr-xxorg/cairo/build22
1 files changed, 22 insertions, 0 deletions
diff --git a/xorg/cairo/build b/xorg/cairo/build
new file mode 100755
index 00000000..92dafa69
--- /dev/null
+++ b/xorg/cairo/build
@@ -0,0 +1,22 @@
+#!/bin/sh -e
+
+# 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 \
+ --disable-static \
+ --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