updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / devil-dev / PKGBUILD
blob0e62642806e10a6a28a05c9e2d17a307b636983e
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>
6 pkgname=devil-dev
7 pkgver=1.6.8
8 _pkgrel=rc2
9 pkgrel=1
10 pkgdesc="Library for reading several different image formats"
11 arch=('i686' 'x86_64')
12 url="http://openil.sourceforge.net/"
13 conflicts=('devil')
14 provides=('devil')
15 depends=('sdl' 'libpng' 'zlib' 'libjpeg' 'libtiff' 'libmng')
16 makedepends=('bash')
17 options=('!libtool')
18 license=('GPL')
19 source=(http://puzzle.dl.sourceforge.net/sourceforge/openil/DevIL-$pkgver-$_pkgrel.tar.gz devil_gcc4.3.patch)
20 md5sums=('9d815c8637adb6fb6c25c38dc178aca2'
21          'b71f41656843f01874a12924d1d60572')
23 build()
25    cd $startdir/src/DevIL-$pkgver
26    patch -p1 -i ../devil_gcc4.3.patch
28    # configure and build
29    ./configure --prefix=/usr --with-gnu-ld --disable-allegro
30    make || return 1
31    make prefix=$startdir/pkg/usr install