summaryrefslogtreecommitdiffstats
path: root/pil/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'pil/Pkgfile')
-rwxr-xr-xpil/Pkgfile21
1 files changed, 21 insertions, 0 deletions
diff --git a/pil/Pkgfile b/pil/Pkgfile
new file mode 100755
index 000000000..d4ad186d3
--- /dev/null
+++ b/pil/Pkgfile
@@ -0,0 +1,21 @@
+# Description: Python Imaging Library
+# URL: http://www.pythonware.com/products/pil/index.htm
+# Maintainer: NuTyX core team
+# Packager: lesibel at free dot fr
+# Depends on: freetype,libjpeg,tk,sane
+# Run on: freetype,libjpeg,tk,sane
+
+name=pil
+version=1.1.7
+release=1
+source=(http://effbot.org/downloads/Imaging-$version.tar.gz)
+
+build() {
+cd Imaging-$version
+ 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/
+}
+
+