[arch-commits] Commit in gf2x/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Fri Nov 9 22:23:05 UTC 2018
Date: Friday, November 9, 2018 @ 22:23:05
Author: foutrelis
Revision: 404941
archrelease: copy trunk to community-staging-x86_64
Added:
gf2x/repos/community-staging-x86_64/
gf2x/repos/community-staging-x86_64/PKGBUILD
(from rev 404940, gf2x/trunk/PKGBUILD)
----------+
PKGBUILD | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
Copied: gf2x/repos/community-staging-x86_64/PKGBUILD (from rev 404940, gf2x/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2018-11-09 22:23:05 UTC (rev 404941)
@@ -0,0 +1,28 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=gf2x
+pkgver=1.2
+pkgrel=2
+pkgdesc="A library for multiplying polynomials over the binary field"
+arch=(x86_64)
+url="http://gforge.inria.fr/projects/gf2x/"
+license=(GPL LGPL)
+depends=(glibc)
+source=("https://gforge.inria.fr/frs/download.php/36934/gf2x-$pkgver.tar.gz")
+sha256sums=('61427ffa03b5006aa154def6dce8bcff0fdefb3bd72f43fb1a7b4fdd6b80db34')
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr --enable-sse2 --disable-pclmul CFLAGS="$CFLAGS -msse2"
+ make
+}
+
+check() {
+ cd $pkgname-$pkgver
+ make -k check
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make prefix="$pkgdir"/usr install
+}
More information about the arch-commits
mailing list