[arch-commits] Commit in latte-integrale/repos (4 files)
Antonio Rojas
arojas at archlinux.org
Wed Jun 21 00:06:46 UTC 2017
Date: Wednesday, June 21, 2017 @ 00:06:45
Author: arojas
Revision: 239141
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
latte-integrale/repos/community-staging-i686/
latte-integrale/repos/community-staging-i686/PKGBUILD
(from rev 239140, latte-integrale/trunk/PKGBUILD)
latte-integrale/repos/community-staging-x86_64/
latte-integrale/repos/community-staging-x86_64/PKGBUILD
(from rev 239140, latte-integrale/trunk/PKGBUILD)
-----------------------------------+
community-staging-i686/PKGBUILD | 29 +++++++++++++++++++++++++++++
community-staging-x86_64/PKGBUILD | 29 +++++++++++++++++++++++++++++
2 files changed, 58 insertions(+)
Copied: latte-integrale/repos/community-staging-i686/PKGBUILD (from rev 239140, latte-integrale/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2017-06-21 00:06:45 UTC (rev 239141)
@@ -0,0 +1,29 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=latte-integrale
+pkgver=1.7.3
+pkgrel=3
+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
+
+# Fix conflicts with LLVM
+ mv "$pkgdir"/usr/bin/{count,latte-count}
+}
+
Copied: latte-integrale/repos/community-staging-x86_64/PKGBUILD (from rev 239140, latte-integrale/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2017-06-21 00:06:45 UTC (rev 239141)
@@ -0,0 +1,29 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=latte-integrale
+pkgver=1.7.3
+pkgrel=3
+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
+
+# Fix conflicts with LLVM
+ mv "$pkgdir"/usr/bin/{count,latte-count}
+}
+
More information about the arch-commits
mailing list