[arch-commits] Commit in ntl/repos (4 files)
Antonio Rojas
arojas at archlinux.org
Tue Jun 21 20:48:36 UTC 2016
Date: Tuesday, June 21, 2016 @ 20:48:36
Author: arojas
Revision: 180700
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
ntl/repos/community-staging-i686/
ntl/repos/community-staging-i686/PKGBUILD
(from rev 180699, ntl/trunk/PKGBUILD)
ntl/repos/community-staging-x86_64/
ntl/repos/community-staging-x86_64/PKGBUILD
(from rev 180699, ntl/trunk/PKGBUILD)
-----------------------------------+
community-staging-i686/PKGBUILD | 31 +++++++++++++++++++++++++++++++
community-staging-x86_64/PKGBUILD | 31 +++++++++++++++++++++++++++++++
2 files changed, 62 insertions(+)
Copied: ntl/repos/community-staging-i686/PKGBUILD (from rev 180699, ntl/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-06-21 20:48:36 UTC (rev 180700)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Brad Conte <brad AT bradconte.com>
+
+pkgname=ntl
+pkgver=9.10.0
+pkgrel=1
+pkgdesc="A Library for doing Number Theory"
+arch=(i686 x86_64)
+url="http://www.shoup.net/ntl/"
+license=(GPL)
+depends=(gf2x gmp)
+makedepends=()
+source=("http://www.shoup.net/$pkgname/$pkgname-$pkgver.tar.gz")
+md5sums=('3846639577fc4bcba30f45e079d82a69')
+
+build() {
+ cd $pkgname-$pkgver/src
+ ./configure DEF_PREFIX=/usr SHARED=on NTL_GF2X_LIB=on NATIVE=off
+ make
+}
+
+check() {
+ cd $pkgname-$pkgver/src
+ make -k check
+}
+
+package() {
+ cd $pkgname-$pkgver/src
+ make PREFIX="$pkgdir/usr" install
+}
Copied: ntl/repos/community-staging-x86_64/PKGBUILD (from rev 180699, ntl/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2016-06-21 20:48:36 UTC (rev 180700)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Brad Conte <brad AT bradconte.com>
+
+pkgname=ntl
+pkgver=9.10.0
+pkgrel=1
+pkgdesc="A Library for doing Number Theory"
+arch=(i686 x86_64)
+url="http://www.shoup.net/ntl/"
+license=(GPL)
+depends=(gf2x gmp)
+makedepends=()
+source=("http://www.shoup.net/$pkgname/$pkgname-$pkgver.tar.gz")
+md5sums=('3846639577fc4bcba30f45e079d82a69')
+
+build() {
+ cd $pkgname-$pkgver/src
+ ./configure DEF_PREFIX=/usr SHARED=on NTL_GF2X_LIB=on NATIVE=off
+ make
+}
+
+check() {
+ cd $pkgname-$pkgver/src
+ make -k check
+}
+
+package() {
+ cd $pkgname-$pkgver/src
+ make PREFIX="$pkgdir/usr" install
+}
More information about the arch-commits
mailing list