[arch-commits] Commit in polybori/repos (4 files)

Antonio Rojas arojas at archlinux.org
Tue May 19 10:21:53 UTC 2015


    Date: Tuesday, May 19, 2015 @ 12:21:52
  Author: arojas
Revision: 133805

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  polybori/repos/community-testing-i686/
  polybori/repos/community-testing-i686/PKGBUILD
    (from rev 133804, polybori/trunk/PKGBUILD)
  polybori/repos/community-testing-x86_64/
  polybori/repos/community-testing-x86_64/PKGBUILD
    (from rev 133804, polybori/trunk/PKGBUILD)

-----------------------------------+
 community-testing-i686/PKGBUILD   |   38 ++++++++++++++++++++++++++++++++++++
 community-testing-x86_64/PKGBUILD |   38 ++++++++++++++++++++++++++++++++++++
 2 files changed, 76 insertions(+)

Copied: polybori/repos/community-testing-i686/PKGBUILD (from rev 133804, polybori/trunk/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD	                        (rev 0)
+++ community-testing-i686/PKGBUILD	2015-05-19 10:21:52 UTC (rev 133805)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Rémy Oudompheng <oudomphe at clipper.ens.fr>
+
+pkgname=polybori
+pkgver=0.8.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)
+makedepends=(boost scons ntl)
+source=("http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz")
+md5sums=('0999722a019c4ee5835a115e76a1dfd6')
+
+prepare() {
+  cd $pkgname-$pkgver
+
+# Build with NTL support and remove rpath (Fedora)
+  sed -e "s/'\${_relative_rpath.*/''])/" -e "s/main_wrapper\.cc/& ntl_wrapper.cc/" -i SConstruct
+}
+
+build() {
+  cd $pkgname-$pkgver 
+
+  scons prepare-install PYTHON=python2 CCFLAGS="$CCFLAGS -DPBORI_HAVE_NTL"
+}
+
+package() {
+  cd $pkgname-$pkgver
+
+  scons install install-headers \
+   PYTHON=python2 \
+   PREFIX="$pkgdir"/usr \
+   PYINSTALLPREFIX="$pkgdir"/usr/lib/python2.7/site-packages \
+   MANDIR="$pkgdir"/usr/share/man
+}

Copied: polybori/repos/community-testing-x86_64/PKGBUILD (from rev 133804, polybori/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2015-05-19 10:21:52 UTC (rev 133805)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Rémy Oudompheng <oudomphe at clipper.ens.fr>
+
+pkgname=polybori
+pkgver=0.8.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)
+makedepends=(boost scons ntl)
+source=("http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz")
+md5sums=('0999722a019c4ee5835a115e76a1dfd6')
+
+prepare() {
+  cd $pkgname-$pkgver
+
+# Build with NTL support and remove rpath (Fedora)
+  sed -e "s/'\${_relative_rpath.*/''])/" -e "s/main_wrapper\.cc/& ntl_wrapper.cc/" -i SConstruct
+}
+
+build() {
+  cd $pkgname-$pkgver 
+
+  scons prepare-install PYTHON=python2 CCFLAGS="$CCFLAGS -DPBORI_HAVE_NTL"
+}
+
+package() {
+  cd $pkgname-$pkgver
+
+  scons install install-headers \
+   PYTHON=python2 \
+   PREFIX="$pkgdir"/usr \
+   PYINSTALLPREFIX="$pkgdir"/usr/lib/python2.7/site-packages \
+   MANDIR="$pkgdir"/usr/share/man
+}



More information about the arch-commits mailing list