blob: f41b53384e936ce8b22d2a81ee957a517f60ce03 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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
}
|