aboutsummaryrefslogtreecommitdiffstats
path: root/x11/cairo/APKBUILD
blob: 38b11e9824eddbbfc0125ff6eb2ea7f73d963120 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=cairo
pkgver=1.8.6
pkgrel=0
pkgdesc="Cairo vector graphics library"
url="http://cairographics.org/"
license="LGPL MPL"
subpackages="$pkgname-dev $pkgname-doc"
depends="libpng libxrender fontconfig pixman xcb-util freetype expat libxau
	libxdmcp zlib"
makedepends="pkgconfig libpng-dev libxrender-dev fontconfig pixman-dev
	xcb-util-dev fontconfig-dev freetype-dev expat-dev zlib-dev"
depends_dev="fontconfig-dev freetype-dev libpng-dev libxrender-dev pixman-dev
	xcb-util-dev"
source="http://cairographics.org/releases/$pkgname-$pkgver.tar.gz"

build () 
{ 
	cd ""$srcdir"/$pkgname-$pkgver"
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--localstatedir=/var \
		--enable-xcb \
		--disable-static || return 1
	make || return 1
	make DESTDIR=""$pkgdir"" install || return 1
}
md5sums="4e64139ef6f668df24450f3b81dd0771  cairo-1.8.6.tar.gz"