[arch-commits] Commit in ntl/repos (4 files)
Antonio Rojas
arojas at archlinux.org
Tue Oct 18 11:26:14 UTC 2016
Date: Tuesday, October 18, 2016 @ 11:26:14
Author: arojas
Revision: 192498
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 192497, ntl/trunk/PKGBUILD)
ntl/repos/community-staging-x86_64/
ntl/repos/community-staging-x86_64/PKGBUILD
(from rev 192497, 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 192497, ntl/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-10-18 11:26:14 UTC (rev 192498)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Brad Conte <brad AT bradconte.com>
+
+pkgname=ntl
+pkgver=10.1.0
+pkgrel=1
+pkgdesc="A Library for doing Number Theory"
+arch=(i686 x86_64)
+url="http://www.shoup.net/ntl/"
+license=(LGPL)
+depends=(gf2x gmp)
+makedepends=()
+source=("http://www.shoup.net/$pkgname/$pkgname-$pkgver.tar.gz")
+md5sums=('16b3449335163a753d45b5f1231bee23')
+
+build() {
+ cd $pkgname-$pkgver/src
+ ./configure DEF_PREFIX=/usr SHARED=on NTL_GF2X_LIB=on NATIVE=off TUNE=generic
+ 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 192497, ntl/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2016-10-18 11:26:14 UTC (rev 192498)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Brad Conte <brad AT bradconte.com>
+
+pkgname=ntl
+pkgver=10.1.0
+pkgrel=1
+pkgdesc="A Library for doing Number Theory"
+arch=(i686 x86_64)
+url="http://www.shoup.net/ntl/"
+license=(LGPL)
+depends=(gf2x gmp)
+makedepends=()
+source=("http://www.shoup.net/$pkgname/$pkgname-$pkgver.tar.gz")
+md5sums=('16b3449335163a753d45b5f1231bee23')
+
+build() {
+ cd $pkgname-$pkgver/src
+ ./configure DEF_PREFIX=/usr SHARED=on NTL_GF2X_LIB=on NATIVE=off TUNE=generic
+ 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