[arch-commits] Commit in polybori/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Tue May 19 10:02:43 UTC 2015
Date: Tuesday, May 19, 2015 @ 12:02:43
Author: arojas
Revision: 133801
Fix NTL support
Modified:
polybori/trunk/PKGBUILD
----------+
PKGBUILD | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-05-19 10:01:56 UTC (rev 133800)
+++ PKGBUILD 2015-05-19 10:02:43 UTC (rev 133801)
@@ -4,13 +4,13 @@
pkgname=polybori
pkgver=0.8.3
-pkgrel=3
+pkgrel=4
pkgdesc="Library for polynomials over boolean rings"
arch=(i686 x86_64)
url="http://polybori.sourceforge.net/"
license=(GPL)
-depends=(boost-libs python2 m4ri ntl)
-makedepends=(boost scons)
+depends=(boost-libs python2 m4ri)
+makedepends=(boost scons ntl)
source=("http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz")
md5sums=('0999722a019c4ee5835a115e76a1dfd6')
@@ -24,8 +24,7 @@
build() {
cd $pkgname-$pkgver
- export CPPFLAGS="$CPPFLAGS -DPBORI_HAVE_NTL"
- scons prepare-install PYTHON=python2
+ scons prepare-install PYTHON=python2 CCFLAGS="$CCFLAGS -DPBORI_HAVE_NTL"
}
package() {
@@ -37,4 +36,3 @@
PYINSTALLPREFIX="$pkgdir"/usr/lib/python2.7/site-packages \
MANDIR="$pkgdir"/usr/share/man
}
-
More information about the arch-commits
mailing list