[arch-commits] Commit in (flint flint/trunk flint/trunk/PKGBUILD)

Antonio Rojas arojas at archlinux.org
Fri Dec 19 23:05:18 UTC 2014


    Date: Saturday, December 20, 2014 @ 00:05:18
  Author: arojas
Revision: 124144

Splitting sage-mathematics

Added:
  flint/
  flint/trunk/
  flint/trunk/PKGBUILD

----------+
 PKGBUILD |   30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

Added: flint/trunk/PKGBUILD
===================================================================
--- flint/trunk/PKGBUILD	                        (rev 0)
+++ flint/trunk/PKGBUILD	2014-12-19 23:05:18 UTC (rev 124144)
@@ -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
+}


Property changes on: flint/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property



More information about the arch-commits mailing list