aboutsummaryrefslogtreecommitdiffstats
path: root/main/cairo/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-01-25 16:43:57 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-01-25 16:43:57 +0000
commit9526ee659401dee7160f35cb62ded2779bcbbc99 (patch)
tree812ad73bde9c84dcc02a3acbc5db576369ca314a /main/cairo/APKBUILD
parent05e09c1126a898b6d0af491fef0401bf53e297f8 (diff)
downloadaports-9526ee659401dee7160f35cb62ded2779bcbbc99.tar.bz2
aports-9526ee659401dee7160f35cb62ded2779bcbbc99.tar.xz
merged x11 repository into main
ref #255
Diffstat (limited to 'main/cairo/APKBUILD')
-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"