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

name=cairo
version=1.8.10
release=3
source=(http://cairographics.org/releases/$name-$version.tar.gz)

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