diff options
author | Cecil Hugh Watson <knoppmyth@gmail.com> | 2010-09-05 06:13:57 (GMT) |
---|---|---|
committer | Cecil Hugh Watson <knoppmyth@gmail.com> | 2010-09-05 06:13:57 (GMT) |
commit | b172f79fadb565ecfbcec9508f9377d8618a4f4c (patch) | |
tree | bf8823b07e3313c3afa000a9b31e4f9a735cb818 /abs/core/pil | |
parent | f9d54ab7c3853208484e304bc6cf40ab0f79d400 (diff) | |
parent | 5e7027c6194237ca1dc5fcbb3648483a970fb500 (diff) | |
download | linhes_pkgbuild-b172f79fadb565ecfbcec9508f9377d8618a4f4c.zip linhes_pkgbuild-b172f79fadb565ecfbcec9508f9377d8618a4f4c.tar.gz linhes_pkgbuild-b172f79fadb565ecfbcec9508f9377d8618a4f4c.tar.bz2 |
Merge branch 'HEAD' of ssh://cesman@knoppmyth.net/mount/repository/LinHES-PKGBUILD
Diffstat (limited to 'abs/core/pil')
-rw-r--r-- | abs/core/pil/PKGBUILD | 7 | ||||
-rw-r--r-- | abs/core/pil/__changelog | 2 |
2 files changed, 6 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/ diff --git a/abs/core/pil/__changelog b/abs/core/pil/__changelog new file mode 100644 index 0000000..91214ed --- /dev/null +++ b/abs/core/pil/__changelog @@ -0,0 +1,2 @@ +__change so that it builds against libjpeg6 and not libjpeg7 + sed -i "s#JPEG_ROOT\ =\ None#JPEG_ROOT\ =\ \"/opt/libjpeg6\"#" setup.py |