blob: e044422570ce102e2cbe6e7bdfbfa02e93f1879e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# $Id: PKGBUILD 64433 2010-01-20 12:05:44Z ibiru $
# Maintainer: damir <damir@archlinux.org>
# Contributor: TheHoff <forums>
pkgname=devil
pkgver=1.7.8
pkgrel=6
pkgdesc="Library for reading several different image formats"
arch=('i686' 'x86_64' 'mips64el')
url="http://openil.sourceforge.net/"
depends=('allegro>=4.4.0.1' 'sdl' 'libpng>=1.4.0' 'libmng>=1.0.10-3' 'freeglut'
'jasper>=1.900.1-4' 'lcms>=1.18-3' 'openexr')
makedepends=('bash')
options=('!libtool' '!docs')
license=('GPL')
source=(http://downloads.sourceforge.net/openil/DevIL-$pkgver.tar.gz libpng14.patch)
build() {
cd $srcdir/devil-$pkgver
patch -Np1 -i $srcdir/libpng14.patch || return 1
# configure and build
./configure --prefix=/usr --enable-ILU --enable-ILUT --enable-opengl --enable-sdl
make || return 1
make prefix=$pkgdir/usr install
}
md5sums=('7918f215524589435e5ec2e8736d5e1d'
'0f839ccefd43b0ee8b4b3f99806147fc')
|