summaryrefslogtreecommitdiffstats
path: root/abs/core/pil/PKGBUILD
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2010-08-30 22:24:02 (GMT)
committerJames Meyer <james.meyer@operamail.com>2010-08-30 22:24:02 (GMT)
commitc4bd4457b5d640e1c8f5afbca7cd54c53691e5fc (patch)
treef4e4f7a91e1d9d90033fd99d89e5e26a2c144528 /abs/core/pil/PKGBUILD
parent0e7b327a1ae444233f1308a95420f70540ad74a3 (diff)
downloadlinhes_pkgbuild-c4bd4457b5d640e1c8f5afbca7cd54c53691e5fc.zip
linhes_pkgbuild-c4bd4457b5d640e1c8f5afbca7cd54c53691e5fc.tar.gz
linhes_pkgbuild-c4bd4457b5d640e1c8f5afbca7cd54c53691e5fc.tar.bz2
RSYNC CORE:
resync core-testing -> core Signed-off-by: James Meyer <james.meyer@operamail.com>
Diffstat (limited to 'abs/core/pil/PKGBUILD')
-rw-r--r--abs/core/pil/PKGBUILD7
1 files changed, 4 insertions, 3 deletions
diff --git a/abs/core/pil/PKGBUILD b/abs/core/pil/PKGBUILD
index 6f01309..5ae42bb 100644
--- a/abs/core/pil/PKGBUILD
+++ b/abs/core/pil/PKGBUILD
@@ -4,19 +4,20 @@
pkgname=pil
pkgver=1.1.6
-pkgrel=6
+pkgrel=11
pkgdesc="Python imaging library"
arch=('i686' 'x86_64')
url="http://www.pythonware.com/products/pil/index.htm"
license=('custom:"pil"')
-depends=('python' 'libjpeg' 'freetype2')
+depends=('python' 'libjpeg6' 'freetype2')
makedepends=('tk>=8.5.0')
source=(http://effbot.org/downloads/Imaging-$pkgver.tar.gz)
md5sums=('3a9b5c20ca52f0a9900512d2c7347622')
build() {
cd $srcdir/Imaging-$pkgver
- python setup.py build_ext
+ sed -i "s#JPEG_ROOT\ =\ None#JPEG_ROOT\ =\ \"/opt/libjpeg6/lib\",\ \"/opt/libjpeg6/include\"#" setup.py
+ python setup.py build_ext -i
python setup.py install --root=$pkgdir
mkdir -p $pkgdir/usr/include/python2.6/
cp libImaging/*.h $pkgdir/usr/include/python2.6/