1 # Maintainer: Pierre Chiche <pierre dot chiche at gmail dot com>
5 pkgdesc="Raytracing client for collaborative rendering farm corefarm.org."
7 url="http://corefarm.org/"
9 depends=('boost' 'libjpeg' 'yafaray')
11 source=(http://www.corefarm.org/downloads/${pkgname}/${pkgname}_${pkgver}.tar.gz)
12 md5sums=(4ac1d397eb6549dceb6f05d486d23be1)
15 cd "${srcdir}/${pkgname}_${pkgver}"
17 sed 's|/usr/local|/usr|' -i ${srcdir}/${pkgname}_${pkgver}/yafaray/config/linux2-config.py
18 sed 's|boost_thread|boost_thread-mt|' -i ${srcdir}/${pkgname}_${pkgver}/yafaray/config/linux2-config.py
20 sed 's|/usr/local|/usr|' -i ${srcdir}/${pkgname}_${pkgver}/corefarm_wrapper/config/linux2-config.py
21 sed 's|boost_thread|boost_thread-mt|' -i ${srcdir}/${pkgname}_${pkgver}/corefarm_wrapper/config/linux2-config.py
23 cd "${srcdir}/${pkgname}_${pkgver}/yafaray"
24 scons PREFIX="/usr" || return 1
26 cd "${srcdir}/${pkgname}_${pkgver}/corefarm_wrapper"
27 scons PREFIX="/usr" || return 1
29 install -D -m 755 ${srcdir}/${pkgname}_${pkgver}/corefarm_wrapper/build/slave/prone ${pkgdir}/usr/bin/prone