summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCecil Hugh Watson <knoppmyth@gmail.com>2009-10-04 23:00:14 (GMT)
committerCecil Hugh Watson <knoppmyth@gmail.com>2009-10-04 23:00:14 (GMT)
commit567f8991a2ed30960bfdea9eed6bee9f8ba2de57 (patch)
tree6eb3ebfb5b585694e029b351292ba0cfb74291a6
parentd0d7703bbe818afa92f0800fd6dbabaafe0a0543 (diff)
downloadlinhes_pkgbuild-567f8991a2ed30960bfdea9eed6bee9f8ba2de57.zip
linhes_pkgbuild-567f8991a2ed30960bfdea9eed6bee9f8ba2de57.tar.gz
linhes_pkgbuild-567f8991a2ed30960bfdea9eed6bee9f8ba2de57.tar.bz2
pil:changes for libjpeg6 in /opt/libjpeg6.
-rw-r--r--abs/core-testing/pil/PKGBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/abs/core-testing/pil/PKGBUILD b/abs/core-testing/pil/PKGBUILD
index f16214a..5ae42bb 100644
--- a/abs/core-testing/pil/PKGBUILD
+++ b/abs/core-testing/pil/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=pil
pkgver=1.1.6
-pkgrel=9
+pkgrel=11
pkgdesc="Python imaging library"
arch=('i686' 'x86_64')
url="http://www.pythonware.com/products/pil/index.htm"
@@ -16,8 +16,8 @@ md5sums=('3a9b5c20ca52f0a9900512d2c7347622')
build() {
cd $srcdir/Imaging-$pkgver
- sed -i "s#JPEG_ROOT\ =\ None#JPEG_ROOT\ =\ \"/opt/libjpeg6\"#" setup.py
- 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/