summaryrefslogtreecommitdiff
path: root/community/devil
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-10-18 23:14:49 +0000
committerroot <root@rshg054.dnsready.net>2011-10-18 23:14:49 +0000
commit791dde5091677cd6370690f9df9fb7cbdcfe0968 (patch)
tree44b8403e7782995a56c22f0fdacd13b227667bb1 /community/devil
parentc4f201fd7208805c7ee00e0ee833d3cc505898ac (diff)
Tue Oct 18 23:14:48 UTC 2011
Diffstat (limited to 'community/devil')
-rw-r--r--community/devil/PKGBUILD23
1 files changed, 14 insertions, 9 deletions
diff --git a/community/devil/PKGBUILD b/community/devil/PKGBUILD
index 061b8cc64..1fad2201e 100644
--- a/community/devil/PKGBUILD
+++ b/community/devil/PKGBUILD
@@ -1,28 +1,33 @@
-# $Id: PKGBUILD 64433 2010-01-20 12:05:44Z ibiru $
+# $Id: PKGBUILD 57001 2011-10-18 03:48:42Z ebelanger $
# Maintainer: damir <damir@archlinux.org>
# Contributor: TheHoff <forums>
pkgname=devil
pkgver=1.7.8
-pkgrel=6
+pkgrel=7
pkgdesc="Library for reading several different image formats"
arch=('i686' 'x86_64')
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')
+depends=('allegro4' 'sdl' 'libpng' 'libmng' 'freeglut'
+ 'jasper' 'lcms' 'openexr')
makedepends=('bash')
options=('!libtool' '!docs')
license=('GPL')
source=(http://downloads.sourceforge.net/openil/DevIL-$pkgver.tar.gz libpng14.patch)
+md5sums=('7918f215524589435e5ec2e8736d5e1d'
+ '0f839ccefd43b0ee8b4b3f99806147fc')
build() {
cd $srcdir/devil-$pkgver
- patch -Np1 -i $srcdir/libpng14.patch || return 1
- # configure and build
+ patch -Np1 -i $srcdir/libpng14.patch
+
./configure --prefix=/usr --enable-ILU --enable-ILUT --enable-opengl --enable-sdl
- make || return 1
+ make
+}
+
+package() {
+ cd $srcdir/devil-$pkgver
+
make prefix=$pkgdir/usr install
}
-md5sums=('7918f215524589435e5ec2e8736d5e1d'
- '0f839ccefd43b0ee8b4b3f99806147fc')