1 # Maintainer: SpepS <dreamspepser at yahoo dot it>
6 pkgdesc="A set of high quality C++ libraries and Python modules tailored for software development in the visual effects industry."
8 url="http://cortex-vfx.googlecode.com/"
10 depends=('freetype2' 'openexr' 'libtiff' 'boost-libs' 'python2')
12 conflicts=('cortex-git')
13 source=("${url}files/$pkgname-$pkgver.tar.gz")
14 md5sums=('5a39fad97fbba21d749d6891bac038ab')
17 cd "$srcdir/$pkgname-$pkgver"
20 export PYTHON="python2"
21 sed -i "s|\(env python2\)\..*|\1|" {scripts/do,config/ie/releaseAll}
23 # A lot of scons configuration fixes
25 "s|/local||g;s|\(boost\)-1_34_1|\1|; \
26 s|-\${BOOST.*VERSION}||;838,852d; \
27 s|_thread|&-mt|;s|bin/python|&2|; \
28 s|\(python\)\(-config\)|\12\2|g; \
29 s|X/ops|X/lib/IECore/ops|" \
36 cd "$srcdir/$pkgname-$pkgver"
38 scons INSTALL_PREFIX="$pkgdir/usr" install
40 # Install License file
41 install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"