# $Id: PKGBUILD 44484 2009-07-02 07:12:03Z allan $ # Maintainer: damir # Contributor: TheHoff pkgname=devil pkgver=1.7.8 pkgrel=2 pkgdesc="Library for reading several different image formats" arch=(i686 x86_64) url="http://openil.sourceforge.net/" depends=('allegro>=4.2.2' 'sdl' 'libpng' 'libmng>=1.0.10-2' 'freeglut' 'jasper>=1.900.1-3' 'lcms>=1.18-2' 'openexr') makedepends=('bash') options=('!libtool' '!docs') license=('GPL') source=(http://downloads.sourceforge.net/openil/DevIL-$pkgver.tar.gz) build() { cd $startdir/src/devil-$pkgver # configure and build ./configure --prefix=/usr --enable-ILU --enable-ILUT --enable-opengl --enable-sdl make || return 1 make prefix=$startdir/pkg/usr install } md5sums=('7918f215524589435e5ec2e8736d5e1d')