diff options
author | tnut <tnut at nutyx dot com> | 2012-01-08 12:15:45 +0100 |
---|---|---|
committer | tnut <tnut at nutyx dot com> | 2012-01-08 12:15:45 +0100 |
commit | 3f57a7f93b3e7550cbd73036f6a56654e17d1d5c (patch) | |
tree | 819b14ab0377fe2054fe59866669d904e9e0b4b5 /py2cairo/Pkgfile | |
parent | c9972ec7f32bf9d37388e853fe9bf633e242d05a (diff) | |
download | nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.gz nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.bz2 nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.xz nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.zip |
split de git pakxe et NuTyX-extra
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 +} |