summaryrefslogtreecommitdiff
path: root/extra/openexr/PKGBUILD
blob: 9fe115aefa53c9e8905af466d03d405bbd86db1b (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
29
# $Id: PKGBUILD 122097 2011-05-02 06:42:28Z andrea $
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>

pkgname=openexr
pkgver=1.7.0
pkgrel=1
pkgdesc="An high dynamic-range image file format library"
url="http://www.openexr.com/"
arch=(i686 x86_64 'mips64el')
license=('BSD')
depends=('zlib' 'ilmbase')
options=('!libtool')
source=("http://download.savannah.nongnu.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.gz"
        'gcc43.patch')
md5sums=('27113284f7d26a58f853c346e0851d7a'
         'd91fae759053a70bcedcf02eb33ca4a2')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  patch -p0 -i ${srcdir}/gcc43.patch
  ./configure --prefix=/usr
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install
  install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}