summaryrefslogtreecommitdiff
path: root/community/devil
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-05-02 00:01:22 +0000
committerroot <root@rshg054.dnsready.net>2012-05-02 00:01:22 +0000
commitdefe74c9cba07c321ad2869d8f6872e64a167324 (patch)
tree22377a98049a863983b9a28d9d79fc737f665cc3 /community/devil
parent752015395fc8b95cc4a86b68189cb747fe9a8499 (diff)
Wed May 2 00:01:22 UTC 2012
Diffstat (limited to 'community/devil')
-rw-r--r--community/devil/PKGBUILD21
1 files changed, 13 insertions, 8 deletions
diff --git a/community/devil/PKGBUILD b/community/devil/PKGBUILD
index 06eed72cd..d14588959 100644
--- a/community/devil/PKGBUILD
+++ b/community/devil/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 63526 2012-02-05 11:53:30Z ibiru $
+# $Id: PKGBUILD 70147 2012-04-30 19:17:33Z lcarlier $
# Maintainer: Laurent Carlier <lordheavym@gmail.org>
# Contributor: damir <damir@archlinux.org>
# Contributor: TheHoff <forums>
pkgname=devil
pkgver=1.7.8
-pkgrel=10
+pkgrel=11
pkgdesc="Library for reading several different image formats"
arch=('i686' 'x86_64')
url="http://openil.sourceforge.net/"
@@ -18,16 +18,21 @@ md5sums=('7918f215524589435e5ec2e8736d5e1d'
'0f839ccefd43b0ee8b4b3f99806147fc')
build() {
- cd ${srcdir}/devil-$pkgver
+ cd ${srcdir}/devil-$pkgver
- patch -Np1 -i ${srcdir}/libpng14.patch
+ patch -Np1 -i ${srcdir}/libpng14.patch
- ./configure --prefix=/usr --enable-ILU
- make
+ if [[ $CARCH == x86_64 ]]; then
+ ./configure --prefix=/usr --enable-ILU
+ else
+ ./configure --prefix=/usr --enable-ILU --disable-sse3
+ fi
+
+ make
}
package() {
- cd ${srcdir}/devil-$pkgver
+ cd ${srcdir}/devil-$pkgver
- make prefix=${pkgdir}/usr install
+ make prefix=${pkgdir}/usr install
}