diff options
author | Fabian Affolter <fabian@affolter-engineering.ch> | 2012-05-25 10:01:02 +0000 |
---|---|---|
committer | Fabian Affolter <fabian@affolter-engineering.ch> | 2012-05-25 19:36:38 +0000 |
commit | 4a03b357e90e1bd55f5a4b687ab2006fe518c824 (patch) | |
tree | a696dd002d923a2db1a9d802000ae369cfb18c17 /main/py-cairo | |
parent | 1a64abeee622949cdd072c2fd8446d9f30fdc488 (diff) | |
download | aports-4a03b357e90e1bd55f5a4b687ab2006fe518c824.tar.bz2 aports-4a03b357e90e1bd55f5a4b687ab2006fe518c824.tar.xz |
main/py-cairo: upgrade to 1.10.0
Diffstat (limited to 'main/py-cairo')
-rw-r--r-- | main/py-cairo/APKBUILD | 37 |
1 files changed, 20 insertions, 17 deletions
diff --git a/main/py-cairo/APKBUILD b/main/py-cairo/APKBUILD index c375476109..83ce38403c 100644 --- a/main/py-cairo/APKBUILD +++ b/main/py-cairo/APKBUILD @@ -1,37 +1,40 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=py-cairo -pkgver=1.8.10 -pkgrel=4 +_pkgname=py2cairo +pkgver=1.10.0 +pkgrel=0 pkgdesc="Python bindings for the cairo graphics library" url="http://cairographics.org/pycairo/" arch="all" -license="GPL" -depends= +license="LGPL2+" +depends="" makedepends="python-dev cairo-dev" -install= +install="" subpackages="$pkgname-dev" -source="http://cairographics.org/releases/py2cairo-$pkgver.tar.gz" - - -_builddir="$srcdir"/pycairo-$pkgver +source="http://cairographics.org/releases/$_pkgname-$pkgver.tar.bz2" +_builddir="$srcdir"/$_pkgname-$pkgver prepare() { cd "$_builddir" } build() { cd "$_builddir" - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info - make || return 1 + ./waf configure --prefix=/usr || return 1 +# ./configure --prefix=/usr \ +# --sysconfdir=/etc \ +# --mandir=/usr/share/man \ +# --infodir=/usr/share/info \ +# || return 1 +# make || return 1 + ./waf build || return 1 } package() { cd "$_builddir" - make DESTDIR="$pkgdir" install - rm -f "$pkgdir"/usr/lib/python*/site-packages/cairo/_cairo.la + ./waf install --destdir="${pkgdir}" || return 1 +# make DESTDIR="$pkgdir" install || return 1 +# rm -f "$pkgdir"/usr/lib/python*/site-packages/cairo/_cairo.la } -md5sums="87421a6a70304120555ba7ba238f3dc3 py2cairo-1.8.10.tar.gz" +md5sums="20337132c4ab06c1146ad384d55372c5 py2cairo-1.10.0.tar.bz2" |