summaryrefslogtreecommitdiffstats
path: root/extra/py2cairo/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'extra/py2cairo/Pkgfile')
-rw-r--r--extra/py2cairo/Pkgfile16
1 files changed, 8 insertions, 8 deletions
diff --git a/extra/py2cairo/Pkgfile b/extra/py2cairo/Pkgfile
index 07904c26f..f0491d5a9 100644
--- a/extra/py2cairo/Pkgfile
+++ b/extra/py2cairo/Pkgfile
@@ -6,14 +6,14 @@
# Run on: cairo
name=py2cairo
-version=1.8.10
+version=1.10.0
release=1
-source=(http://cairographics.org/releases/$name-$version.tar.gz)
+source=(http://cairographics.org/releases/$name-$version.tar.bz2)
build() {
- cd pycairo-$version
- PYTHON=python2 ./configure --prefix=/usr
- make
- make DESTDIR=$PKG install
-}
-
+ cd $name-$version
+ export PYTHON=python2
+ ./waf configure --prefix=/usr
+ ./waf build
+ ./waf install --destdir=$PKG
+}