# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>

pkgname=ilmbase
pkgver=1.0.1
pkgrel=1
depends=('gcc-libs')
pkgdesc="IlmThread is a thread abstraction library for use with OpenEXR"
arch=(i686 x86_64)
license=('custom')
options=('!libtool')
source=(http://savannah.nongnu.org/download/openexr/$pkgname-$pkgver.tar.gz)
url="http://www.openexr.org"
md5sums=('f76f094e69a6079b0beb93d97e2a217e')

build() {
  cd $startdir/src/$pkgname-$pkgver
  ./configure --prefix=/usr
  make || return 1
  make DESTDIR=$startdir/pkg install
  install -D -m644 COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING
}