diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-08-02 14:36:31 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-08-02 14:36:31 +0000 |
commit | 0031a7082630ffda720adab5b911bfc663e0d526 (patch) | |
tree | f6610029fee56f2e700f65bec5360f0908de74c8 /testing | |
parent | 50ccfb291320049d541fc5074a1213a66920383c (diff) | |
download | aports-0031a7082630ffda720adab5b911bfc663e0d526.tar.bz2 aports-0031a7082630ffda720adab5b911bfc663e0d526.tar.xz |
testing/py-cairo: new aport
Python bindings for the cairo graphics library
http://cairographics.org/pycairo/
Diffstat (limited to 'testing')
-rw-r--r-- | testing/py-cairo/APKBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/testing/py-cairo/APKBUILD b/testing/py-cairo/APKBUILD new file mode 100644 index 000000000..b6f621d8a --- /dev/null +++ b/testing/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" |