1 # $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
2 # Contributor: damir <damir@archlinux.org>
3 # Contributor: TheHoff <forums>
4 # Maintainer: Aurélien DESBRIÈRES <ice.cube@gmx.com>
10 pkgdesc="Library for reading several different image formats"
11 arch=('i686' 'x86_64')
12 url="http://openil.sourceforge.net/"
15 depends=('sdl' 'libpng' 'zlib' 'libjpeg' 'libtiff' 'libmng')
19 source=(http://puzzle.dl.sourceforge.net/sourceforge/openil/DevIL-$pkgver-$_pkgrel.tar.gz devil_gcc4.3.patch)
20 md5sums=('9d815c8637adb6fb6c25c38dc178aca2'
21 'b71f41656843f01874a12924d1d60572')
25 cd $startdir/src/DevIL-$pkgver
26 patch -p1 -i ../devil_gcc4.3.patch
29 ./configure --prefix=/usr --with-gnu-ld --disable-allegro
31 make prefix=$startdir/pkg/usr install