1 # Maintainer: Rémy Oudompheng <oudomphe@clipper.ens.fr>
5 pkgdesc="Library for polynomials over boolean rings"
7 url="http://polybori.sourceforge.net/"
9 depends=('python2' 'boost-libs' 'ipython')
10 # uncomment to use system m4ri library
12 makedepends=('boost' 'scons') # 'hevea')
13 source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-${pkgver}.tar.gz
15 md5sums=('75d96d234c53dc40ea05a41975b0d80b'
16 '20e5df185f00bf4387d9e23955a970f2')
19 cd "${srcdir}/polybori-${pkgver%.*}"
23 export PYTHONSITE=/usr/lib/python2.7/site-packages
24 scons -j4 prepare-devel PYTHON=python2
28 cd "${srcdir}/polybori-${pkgver%.*}"
29 scons devel-install PYTHON=python2
30 scons install PYTHON=python2
32 find ${pkgdir}/usr/include -name '*.h' -exec chmod 644 {} +
33 find ${pkgdir}/usr/include -name '*.hh' -exec chmod 644 {} +