[arch-commits] Commit in zn_poly (5 files)

Antonio Rojas arojas at archlinux.org
Sat Dec 20 20:37:00 UTC 2014


    Date: Saturday, December 20, 2014 @ 21:37:00
  Author: arojas
Revision: 124212

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

Added:
  zn_poly/repos/
  zn_poly/repos/community-i686/
  zn_poly/repos/community-i686/PKGBUILD
    (from rev 124211, zn_poly/trunk/PKGBUILD)
  zn_poly/repos/community-x86_64/
  zn_poly/repos/community-x86_64/PKGBUILD
    (from rev 124211, zn_poly/trunk/PKGBUILD)

---------------------------+
 community-i686/PKGBUILD   |   33 +++++++++++++++++++++++++++++++++
 community-x86_64/PKGBUILD |   33 +++++++++++++++++++++++++++++++++
 2 files changed, 66 insertions(+)

Copied: zn_poly/repos/community-i686/PKGBUILD (from rev 124211, zn_poly/trunk/PKGBUILD)
===================================================================
--- repos/community-i686/PKGBUILD	                        (rev 0)
+++ repos/community-i686/PKGBUILD	2014-12-20 20:37:00 UTC (rev 124212)
@@ -0,0 +1,33 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Rémy Oudompheng <oudomphe at clipper.ens.fr>
+
+pkgname=zn_poly
+pkgver=0.9
+pkgrel=3
+pkgdesc="Polynomial arithmetic over Z/nZ"
+arch=('i686' 'x86_64')
+url="http://web.maths.unsw.edu.au/~davidharvey/code/zn_poly/"
+license=('GPL')
+depends=('gmp')
+makedepends=('python2')
+source=("http://web.maths.unsw.edu.au/~davidharvey/code/zn_poly/releases/$pkgname-$pkgver.tar.gz")
+md5sums=('0eeaae2524addf558de94bfbc914d22e')
+
+build() {
+  cd $pkgname-$pkgver
+
+  python2 makemakefile.py --cflags="$CFLAGS -fPIC" --prefix=/usr --ntl-prefix=/usr --gmp-prefix=/usr --flint-prefix=/usr > makefile
+  make
+
+# build shared library
+  make libzn_poly.so
+}
+
+package() {
+  cd $pkgname-$pkgver
+
+  mkdir -p "$pkgdir"/usr/{include/zn_poly,lib}
+  cp libzn_poly.so "$pkgdir"/usr/lib
+  cp include/*.h "$pkgdir"/usr/include/zn_poly
+}
+

Copied: zn_poly/repos/community-x86_64/PKGBUILD (from rev 124211, zn_poly/trunk/PKGBUILD)
===================================================================
--- repos/community-x86_64/PKGBUILD	                        (rev 0)
+++ repos/community-x86_64/PKGBUILD	2014-12-20 20:37:00 UTC (rev 124212)
@@ -0,0 +1,33 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Rémy Oudompheng <oudomphe at clipper.ens.fr>
+
+pkgname=zn_poly
+pkgver=0.9
+pkgrel=3
+pkgdesc="Polynomial arithmetic over Z/nZ"
+arch=('i686' 'x86_64')
+url="http://web.maths.unsw.edu.au/~davidharvey/code/zn_poly/"
+license=('GPL')
+depends=('gmp')
+makedepends=('python2')
+source=("http://web.maths.unsw.edu.au/~davidharvey/code/zn_poly/releases/$pkgname-$pkgver.tar.gz")
+md5sums=('0eeaae2524addf558de94bfbc914d22e')
+
+build() {
+  cd $pkgname-$pkgver
+
+  python2 makemakefile.py --cflags="$CFLAGS -fPIC" --prefix=/usr --ntl-prefix=/usr --gmp-prefix=/usr --flint-prefix=/usr > makefile
+  make
+
+# build shared library
+  make libzn_poly.so
+}
+
+package() {
+  cd $pkgname-$pkgver
+
+  mkdir -p "$pkgdir"/usr/{include/zn_poly,lib}
+  cp libzn_poly.so "$pkgdir"/usr/lib
+  cp include/*.h "$pkgdir"/usr/include/zn_poly
+}
+



More information about the arch-commits mailing list