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