summaryrefslogtreecommitdiffstats
path: root/py2cairo/Pkgfile
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2012-05-12 12:21:29 +0200
committertnut <thierryn1 at hispeed dot ch>2012-05-12 12:21:29 +0200
commit356a27700b320137522ee7d14c19e4d6c1ab5a67 (patch)
treee243106aa2f644d810e50d1768ae3c00aed0a5d9 /py2cairo/Pkgfile
parent3fdbad73d56be5d3f3cd44efa13627fd4beec433 (diff)
downloadnutyx-pakxe-356a27700b320137522ee7d14c19e4d6c1ab5a67.tar.gz
nutyx-pakxe-356a27700b320137522ee7d14c19e4d6c1ab5a67.tar.bz2
nutyx-pakxe-356a27700b320137522ee7d14c19e4d6c1ab5a67.tar.xz
nutyx-pakxe-356a27700b320137522ee7d14c19e4d6c1ab5a67.zip
py2cairo, ajout
Diffstat (limited to 'py2cairo/Pkgfile')
-rw-r--r--py2cairo/Pkgfile20
1 files changed, 20 insertions, 0 deletions
diff --git a/py2cairo/Pkgfile b/py2cairo/Pkgfile
new file mode 100644
index 000000000..f41b53384
--- /dev/null
+++ b/py2cairo/Pkgfile
@@ -0,0 +1,20 @@
+# Description: Connecteur Python2 pour la librairie cairo
+# URL: http://www.cairographics.org/
+# Maintainer: NuTyX core team
+# Packager: lesibel at free dot fr
+# Depends on: cairo
+# Run on: cairo
+
+name=py2cairo
+version=1.10.0
+release=1
+source=(http://cairographics.org/releases/$name-$version.tar.bz2)
+
+build() {
+ cd $name-$version
+ export PYTHON=/usr/bin/python2
+ sed -i 's:bin/env python:bin/env python2:' waf
+ python2 ./waf configure --prefix=/usr
+ ./waf build
+ ./waf install --destdir=$PKG
+}