From 412d061bfbf23d1e908eed3f8405b1af46fb1ba8 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 17 Jul 2012 00:01:52 +0000 Subject: Tue Jul 17 00:01:52 UTC 2012 --- community-testing/openimageio/PKGBUILD | 38 ++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 community-testing/openimageio/PKGBUILD (limited to 'community-testing/openimageio') diff --git a/community-testing/openimageio/PKGBUILD b/community-testing/openimageio/PKGBUILD new file mode 100644 index 000000000..5a2e49e6a --- /dev/null +++ b/community-testing/openimageio/PKGBUILD @@ -0,0 +1,38 @@ +# $Id: PKGBUILD 73765 2012-07-15 13:19:33Z ibiru $ +# Contributor: SpepS +# Maintainer: Sven-Hendrik Haase + +pkgname=openimageio +pkgver=1.0.6 +pkgrel=1 +pkgdesc="A library for reading and writing images, including classes, utilities, and applications." +arch=(i686 x86_64) +url="http://www.openimageio.org/" +license=('custom') +depends=('openexr' 'boost-libs' 'jasper' 'glew') +makedepends=('cmake' 'qt' 'python2' 'boost') +optdepends=('qt: iv image viewer' + 'python2: bindings support') +source=(https://github.com/OpenImageIO/oiio/tarball/Release-$pkgver) +md5sums=('fa6e3f4be98d8e1868b389410b56563a') + +build() { + cd "$srcdir"/$_pkgname*/src + + [[ -d build ]] && rm -r build + mkdir build && cd build + cmake -DCMAKE_INSTALL_PREFIX=/usr .. + make +} + +package() { + cd "$srcdir"/$_pkgname*/src/build + + make DESTDIR=$pkgdir install + + mv $pkgdir/usr/lib/python $pkgdir/usr/lib/python2.7 + + # license + cd ../.. + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} -- cgit v1.2.3-54-g00ecf