[arch-commits] Commit in (9 files)
Antonio Rojas
arojas at archlinux.org
Fri Mar 24 11:43:29 UTC 2017
Date: Friday, March 24, 2017 @ 11:43:28
Author: arojas
Revision: 218662
Add latte-integrale and deps, new sagemath optdepend
Added:
4ti2/
4ti2/trunk/
4ti2/trunk/PKGBUILD
latte-integrale/
latte-integrale/trunk/
latte-integrale/trunk/PKGBUILD
lidia/
lidia/trunk/
lidia/trunk/PKGBUILD
--------------------------------+
4ti2/trunk/PKGBUILD | 24 ++++++++++++++++++++++++
latte-integrale/trunk/PKGBUILD | 26 ++++++++++++++++++++++++++
lidia/trunk/PKGBUILD | 30 ++++++++++++++++++++++++++++++
3 files changed, 80 insertions(+)
Added: 4ti2/trunk/PKGBUILD
===================================================================
--- 4ti2/trunk/PKGBUILD (rev 0)
+++ 4ti2/trunk/PKGBUILD 2017-03-24 11:43:28 UTC (rev 218662)
@@ -0,0 +1,24 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=4ti2
+pkgver=1.6.7
+pkgrel=1
+pkgdesc="A software package for algebraic, geometric and combinatorial problems on linear spaces"
+arch=(i686 x86_64)
+url="http://www.4ti2.de/"
+license=(GPL)
+depends=(glpk)
+source=("http://www.4ti2.de/version_$pkgver/$pkgname-$pkgver.tar.gz")
+sha256sums=('d4833a831d8d437f595d2e234a4471d7adbe1523fc63aa46cacea56af3e831bb')
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr --enable-shared --disable-static
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+}
+
Added: latte-integrale/trunk/PKGBUILD
===================================================================
--- latte-integrale/trunk/PKGBUILD (rev 0)
+++ latte-integrale/trunk/PKGBUILD 2017-03-24 11:43:28 UTC (rev 218662)
@@ -0,0 +1,26 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=latte-integrale
+pkgver=1.7.3
+pkgrel=1
+pkgdesc="Computer software dedicated to the problems of counting lattice points and integration inside convex polytopes"
+arch=(i686 x86_64)
+url="https://www.math.ucdavis.edu/~latte/"
+license=(GPL)
+depends=(4ti2 ntl cddlib lidia)
+source=("https://www.math.ucdavis.edu/~latte/software/packages/latte_current/latte-int-$pkgver.tar.gz")
+sha256sums=('b6777067d11a454e4dbaf5af8fb227d2b66960d79245ea967192738ad2a1e76c')
+
+build() {
+ cd latte-int-$pkgver
+
+ export CXXFLAGS="-DNTL_STD_CXX $CXXFLAGS"
+ ./configure --prefix=/usr --enable-shared --with-ntl=/usr
+ make
+}
+
+package() {
+ cd latte-int-$pkgver
+ make DESTDIR="$pkgdir" install
+}
+
Added: lidia/trunk/PKGBUILD
===================================================================
--- lidia/trunk/PKGBUILD (rev 0)
+++ lidia/trunk/PKGBUILD 2017-03-24 11:43:28 UTC (rev 218662)
@@ -0,0 +1,30 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=lidia
+pkgver=2.3.0
+_patchver=2014-10-04
+pkgrel=1
+pkgdesc="A library for computational number theory"
+arch=(i686 x86_64)
+url="https://www.math.ucdavis.edu/~latte/"
+license=(GPL)
+depends=(gmp)
+source=("https://www.math.ucdavis.edu/~latte/software/packages/lidia/current/lidia-$pkgver+latte-patches-$_patchver.tar.bz2")
+sha256sums=('d564d5263f2c01d8abe51e2971ca43a911d1edbc20f4750cdc393099d2bcd9aa')
+
+build() {
+ cd lidia-$pkgver+latte-patches-$_patchver
+
+ export CXXFLAGS="-DNTL_STD_CXX $CXXFLAGS"
+ ./configure --prefix=/usr --enable-shared
+ make
+}
+
+package() {
+ cd lidia-$pkgver+latte-patches-$_patchver
+ make DESTDIR="$pkgdir" install
+
+# Fix capitalization (needed by latte-integrale)
+ mv "$pkgdir"/usr/include/{lidia,LiDIA}
+}
+
More information about the arch-commits
mailing list