# Description: A 2D graphics library with support for multiple output devices
# URL: http://www.cairographics.org/
# Maintainer: Fredrik Rinnestam, fredrik at crux dot nu
# Depends on: fontconfig, libpng, xorg-libxext, xorg-libxrender, xorg-libpixman, xorg-xcb-util, glib

name=cairo
version=1.14.2
release=1
source=(http://cairographics.org/releases/$name-$version.tar.xz)

build() {
        cd $name-$version
        ./configure --prefix=/usr \
                --enable-xcb=yes \
                --enable-ps \
                --enable-pdf \
                --disable-gtk-doc \
                --enable-tee=yes
        make
        make DESTDIR=$PKG install
        rm -rf $PKG/usr/share
}