summaryrefslogtreecommitdiffstats
path: root/extra/cairo/Pkgfile
blob: 50d1262eaae0474ce1f1c2b0df6d9c93370926ff (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
28
29
# Description: Librairie 2D graphique
# URL: http://www.cairographics.org/ 
# Packager: thierryn1 at hispeed dot ch
# Maintainer: NuTyX core team
# Depends on: mesa3d,fontconfig,xorg-libxrender,xorg-libpixman
# Run on: mesa3d,fontconfig,xorg-libpixman

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

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