[arch-commits] Commit in flint (5 files)
Antonio Rojas
arojas at archlinux.org
Fri Dec 19 23:06:41 UTC 2014
Date: Saturday, December 20, 2014 @ 00:06:41
Author: arojas
Revision: 124145
archrelease: copy trunk to community-i686, community-x86_64
Added:
flint/repos/
flint/repos/community-i686/
flint/repos/community-i686/PKGBUILD
(from rev 124144, flint/trunk/PKGBUILD)
flint/repos/community-x86_64/
flint/repos/community-x86_64/PKGBUILD
(from rev 124144, flint/trunk/PKGBUILD)
---------------------------+
community-i686/PKGBUILD | 30 ++++++++++++++++++++++++++++++
community-x86_64/PKGBUILD | 30 ++++++++++++++++++++++++++++++
2 files changed, 60 insertions(+)
Copied: flint/repos/community-i686/PKGBUILD (from rev 124144, flint/trunk/PKGBUILD)
===================================================================
--- repos/community-i686/PKGBUILD (rev 0)
+++ repos/community-i686/PKGBUILD 2014-12-19 23:06:41 UTC (rev 124145)
@@ -0,0 +1,30 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Rémy Oudompheng <oudomphe at clipper.ens.fr>
+# Contributor: Alessandro "jakedust" Andrioni <jakedust at gmail.com>
+
+pkgname=flint
+pkgver=2.4.4
+pkgrel=3
+pkgdesc="A C library for doing number theory"
+arch=('i686' 'x86_64')
+url="http://www.flintlib.org"
+license=('GPL')
+depends=('mpfr' 'ntl')
+source=("http://www.flintlib.org/flint-$pkgver.tar.gz")
+md5sums=('b527fe3a49fd02a0367227fe8ec9cbe4')
+
+prepare() {
+ cd $pkgname-$pkgver
+ sed -i.orig 's,.*NTL/g_lip.h,// &,' interfaces/NTL-interface.cpp
+}
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr --with-gmp=/usr --with-mpfr=/usr --with-ntl=/usr
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+}
Copied: flint/repos/community-x86_64/PKGBUILD (from rev 124144, flint/trunk/PKGBUILD)
===================================================================
--- repos/community-x86_64/PKGBUILD (rev 0)
+++ repos/community-x86_64/PKGBUILD 2014-12-19 23:06:41 UTC (rev 124145)
@@ -0,0 +1,30 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Rémy Oudompheng <oudomphe at clipper.ens.fr>
+# Contributor: Alessandro "jakedust" Andrioni <jakedust at gmail.com>
+
+pkgname=flint
+pkgver=2.4.4
+pkgrel=3
+pkgdesc="A C library for doing number theory"
+arch=('i686' 'x86_64')
+url="http://www.flintlib.org"
+license=('GPL')
+depends=('mpfr' 'ntl')
+source=("http://www.flintlib.org/flint-$pkgver.tar.gz")
+md5sums=('b527fe3a49fd02a0367227fe8ec9cbe4')
+
+prepare() {
+ cd $pkgname-$pkgver
+ sed -i.orig 's,.*NTL/g_lip.h,// &,' interfaces/NTL-interface.cpp
+}
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr --with-gmp=/usr --with-mpfr=/usr --with-ntl=/usr
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+}
More information about the arch-commits
mailing list