summaryrefslogtreecommitdiffstats
path: root/extra/pil/Pkgfile
blob: bb57cc8d49b52f258d5ec95a9bb49494fa45d127 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# 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/
}