diff options
author | root <root@rshg054.dnsready.net> | 2011-09-18 23:14:34 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-09-18 23:14:34 +0000 |
commit | f57b139ded4e8c4b10555985513b3f9a70a70e12 (patch) | |
tree | 5c1e21523a0039ae25bd6237e79cc8158e068bd5 /community-testing/luxrays/PKGBUILD | |
parent | c7fd3b08e227a739803d62e0bb3033ebe65da775 (diff) |
Sun Sep 18 23:14:34 UTC 2011
Diffstat (limited to 'community-testing/luxrays/PKGBUILD')
-rw-r--r-- | community-testing/luxrays/PKGBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/community-testing/luxrays/PKGBUILD b/community-testing/luxrays/PKGBUILD new file mode 100644 index 000000000..3c7e3497d --- /dev/null +++ b/community-testing/luxrays/PKGBUILD @@ -0,0 +1,37 @@ +# $Id: PKGBUILD 55699 2011-09-17 21:15:20Z stephane $ +# Maintainer: Lukas Jirkovsky <l.jirkovsky@gmail.com> +pkgname=luxrays +pkgver=0.8 +_pkgver=ed424ec77571 +pkgrel=5 +epoch=0 +pkgdesc="Accelerate the ray intersection process by using GPUs" +arch=('i686' 'x86_64') +url="http://www.luxrender.net/" +license=('GPL') +depends=('freeimage' 'freeglut' 'glew' 'libcl') +makedepends=('cmake' 'boost' 'opencl-headers') +source=(https://bitbucket.org/luxrender/luxrays/get/$_pkgver.tar.bz2) +md5sums=('2ac9c588675c5971c57f473ef10ac67d') + +build() { + cd "$srcdir/luxrender-$pkgname-$_pkgver" + + export CXXFLAGS="$CXXFLAGS -lpthread" + cmake -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_SKIP_RPATH=ON \ + -DLUXRAYS_DISABLE_OPENCL=OFF \ + . + make +} + +package() { + cd "$srcdir/luxrender-$pkgname-$_pkgver" + + install -d -m755 "$pkgdir"/usr/{bin,include,lib} + install -m755 bin/* "$pkgdir"/usr/bin + install -m644 lib/* "$pkgdir"/usr/lib + cp -a include/luxrays "$pkgdir"/usr/include +} + +# vim:set ts=2 sw=2 et: |