aboutsummaryrefslogtreecommitdiffstats
path: root/main/py-cairo
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-08-12 18:08:16 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-08-12 18:08:16 +0000
commit44aa84712a10e37506217e1d18134a567b96beb9 (patch)
tree2ef602dcae8dd708f20e13863c370d323bdd1d3c /main/py-cairo
parentdadb11e6f56100ca84f93133bd7e190136995ac2 (diff)
downloadaports-44aa84712a10e37506217e1d18134a567b96beb9.tar.bz2
aports-44aa84712a10e37506217e1d18134a567b96beb9.tar.xz
main/py-cairo: moved from testing
Diffstat (limited to 'main/py-cairo')
-rw-r--r--main/py-cairo/APKBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/main/py-cairo/APKBUILD b/main/py-cairo/APKBUILD
new file mode 100644
index 0000000000..b6f621d8a8
--- /dev/null
+++ b/main/py-cairo/APKBUILD
@@ -0,0 +1,35 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=py-cairo
+pkgver=1.8.10
+pkgrel=0
+pkgdesc="Python bindings for the cairo graphics library"
+url="http://cairographics.org/pycairo/"
+license="GPL"
+depends=
+makedepends="python-dev cairo-dev"
+install=
+subpackages="$pkgname-dev"
+source="http://cairographics.org/releases/py2cairo-$pkgver.tar.gz"
+
+
+_builddir="$srcdir"/pycairo-$pkgver
+
+prepare() {
+ cd "$_builddir"
+}
+
+build() {
+ cd "$_builddir"
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+md5sums="87421a6a70304120555ba7ba238f3dc3 py2cairo-1.8.10.tar.gz"