diff options
author | tnut <thierryn1 at hispeed dot ch> | 2012-05-12 12:21:29 +0200 |
---|---|---|
committer | tnut <thierryn1 at hispeed dot ch> | 2012-05-12 12:21:29 +0200 |
commit | 356a27700b320137522ee7d14c19e4d6c1ab5a67 (patch) | |
tree | e243106aa2f644d810e50d1768ae3c00aed0a5d9 /py2cairo/Pkgfile | |
parent | 3fdbad73d56be5d3f3cd44efa13627fd4beec433 (diff) | |
download | nutyx-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/Pkgfile | 20 |
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 +} |