aboutsummaryrefslogtreecommitdiff
path: root/xorg/cairo/build
blob: 90ed8eadff54fab980ecfbb0c34c0ee1675118f2 (plain)
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
#!/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