# Description: A 2D graphics library with support for multiple output devices
# URL: http://www.cairographics.org/
# Maintainer: Matt Housh, jaeger at crux dot nu
# Depends on: fontconfig, glitz, libpng, xorg-libxrender

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

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