diff options
Diffstat (limited to 'x11/cairo')
-rw-r--r-- | x11/cairo/APKBUILD | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/x11/cairo/APKBUILD b/x11/cairo/APKBUILD new file mode 100644 index 00000000..bfed5644 --- /dev/null +++ b/x11/cairo/APKBUILD @@ -0,0 +1,27 @@ +# 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="freetype-dev fontconfig-dev libpng-dev libxrender-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" |