1 # Maintainer: Thomas Dziedzic < gostrc at gmail >
6 pkgdesc='OpenCog aims to provide research scientists and software developers with a common platform to build and share artificial intelligence programs.'
8 url='http://www.opencog.org/'
10 options=('!makeflags')
11 depends=('boost-libs' 'unixodbc' 'xmlrpc-c' 'guile' 'gsl' 'xerces-c-2' 'sdl_gfx' 'expat' 'zeromq' 'protobuf' 'python2')
12 makedepends=('boost' 'bzr' 'cmake' 'luabind' 'cxxtest' 'doxygen' 'cython')
14 _bzrtrunk='lp:opencog'
18 msg 'Connecting to the server...'
19 if [ ! -d ./${_bzrmod} ]; then
20 bzr co ${_bzrtrunk} ${_bzrmod}
24 msg 'BZR checkout done or server timeout'
27 cp -r ${_bzrmod} build
32 # use -DCMAKE_BUILD_TYPE=Release to optimize binaries or remove it for debug
33 # use -Wno-dev to suppress developer specific warnings
35 -DCMAKE_BUILD_TYPE=Release \
36 -DCMAKE_INSTALL_PREFIX='/usr' \
37 -DCMAKE_SKIP_RPATH=ON \
39 -DPYTHON_EXECUTABLE='/usr/bin/python2' \
48 make DESTDIR=${pkgdir} install