summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xextra/pil/Pkgfile19
1 files changed, 19 insertions, 0 deletions
diff --git a/extra/pil/Pkgfile b/extra/pil/Pkgfile
new file mode 100755
index 000000000..26d9d4d74
--- /dev/null
+++ b/extra/pil/Pkgfile
@@ -0,0 +1,19 @@
+# Description: Python Imaging Library
+# 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
+
+name=pil
+version=1.1.6
+release=1
+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/
+}
+