diff options
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 +} |