[arch-commits] Commit in ntl/repos (4 files)
Antonio Rojas
arojas at archlinux.org
Thu Apr 21 06:19:30 UTC 2016
Date: Thursday, April 21, 2016 @ 08:19:29
Author: arojas
Revision: 171465
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 171464, ntl/trunk/PKGBUILD)
ntl/repos/community-staging-x86_64/
ntl/repos/community-staging-x86_64/PKGBUILD
(from rev 171464, 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 171464, ntl/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-04-21 06:19:29 UTC (rev 171465)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Brad Conte <brad AT bradconte.com>
+
+pkgname=ntl
+pkgver=9.7.1
+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=('73e313c1316fd7a729313f34131ffd2b')
+
+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 171464, ntl/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2016-04-21 06:19:29 UTC (rev 171465)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Brad Conte <brad AT bradconte.com>
+
+pkgname=ntl
+pkgver=9.7.1
+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=('73e313c1316fd7a729313f34131ffd2b')
+
+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