[arch-commits] Commit in ntl/repos (2 files)
Antonio Rojas
arojas at archlinux.org
Sun Jul 15 18:29:35 UTC 2018
Date: Sunday, July 15, 2018 @ 18:29:34
Author: arojas
Revision: 359567
archrelease: copy trunk to community-staging-x86_64
Added:
ntl/repos/community-staging-x86_64/
ntl/repos/community-staging-x86_64/PKGBUILD
(from rev 359566, ntl/trunk/PKGBUILD)
----------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Copied: ntl/repos/community-staging-x86_64/PKGBUILD (from rev 359566, ntl/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2018-07-15 18:29:34 UTC (rev 359567)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Brad Conte <brad AT bradconte.com>
+
+pkgname=ntl
+pkgver=11.2.1
+pkgrel=1
+pkgdesc="A Library for doing Number Theory"
+arch=(x86_64)
+url="http://www.shoup.net/ntl/"
+license=(LGPL)
+depends=(gf2x gmp)
+makedepends=()
+source=("http://www.shoup.net/$pkgname/$pkgname-$pkgver.tar.gz")
+sha256sums=('09918b8562654a0406afe13911ce37f5dc819e1852a67dec184a74ea70fd5b11')
+
+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