aboutsummaryrefslogtreecommitdiffstats
path: root/main/cairo
diff options
context:
space:
mode:
Diffstat (limited to 'main/cairo')
-rw-r--r--main/cairo/APKBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/main/cairo/APKBUILD b/main/cairo/APKBUILD
new file mode 100644
index 0000000000..4e2183a0e7
--- /dev/null
+++ b/main/cairo/APKBUILD
@@ -0,0 +1,28 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=cairo
+pkgver=1.8.8
+pkgrel=0
+pkgdesc="Cairo vector graphics library"
+url="http://cairographics.org/"
+license="LGPL MPL"
+subpackages="$pkgname-dev $pkgname-doc"
+depends=
+makedepends="pkgconfig libpng-dev libxrender-dev fontconfig pixman-dev
+ xcb-util-dev fontconfig-dev freetype-dev expat-dev zlib-dev
+ libiconv-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="d3e1a1035ae563812d4dd44a74fb0dd0 cairo-1.8.8.tar.gz"