summaryrefslogtreecommitdiffstats
path: root/extra/pil/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'extra/pil/Pkgfile')
-rwxr-xr-xextra/pil/Pkgfile12
1 files changed, 7 insertions, 5 deletions
diff --git a/extra/pil/Pkgfile b/extra/pil/Pkgfile
index bb57cc8d4..d993dc704 100755
--- a/extra/pil/Pkgfile
+++ b/extra/pil/Pkgfile
@@ -2,7 +2,9 @@
# URL: http://www.pythonware.com/products/pil/index.htm
# Maintainer: NuTyX core team
# Packager: fred.galusik at gmail dot com
-# Depends on: freetype, libjpeg, python, tk
+# Depends on:
+
+#freetype, libjpeg, python2, tk
name=pil
version=1.1.6
@@ -11,10 +13,10 @@ source=(http://effbot.org/downloads/Imaging-$version.tar.gz)
build() {
cd Imaging-$version
- python setup.py build_ext
- python setup.py install --root=$PKG
- mkdir -p $PKG/usr/include/python2.5/
- cp libImaging/*.h $PKG/usr/include/python2.5/
+ python2 setup.py build_ext
+ python2 setup.py install --root=$PKG
+ mkdir -p $PKG/usr/include/python2.7/
+ cp libImaging/*.h $PKG/usr/include/python2.7/
}