mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
extra/gf2x to 1.3.0-3
This commit is contained in:
parent
87a928e03f
commit
b16ed95cb0
3 changed files with 37 additions and 9 deletions
13
extra/gf2x/.SRCINFO
Normal file
13
extra/gf2x/.SRCINFO
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
pkgbase = gf2x
|
||||||
|
pkgdesc = A library for multiplying polynomials over the binary field
|
||||||
|
pkgver = 1.3.0
|
||||||
|
pkgrel = 3
|
||||||
|
url = https://gitlab.inria.fr/gf2x/gf2x
|
||||||
|
arch = x86_64
|
||||||
|
license = GPL-3.0-or-later
|
||||||
|
makedepends = git
|
||||||
|
depends = glibc
|
||||||
|
source = git+https://gitlab.inria.fr/gf2x/gf2x#tag=gf2x-1.3.0
|
||||||
|
sha256sums = becc47f5ca6e549393ea70147f7dc7b52d88af0ed5bfb9f2e3a4c47658bf48e9
|
||||||
|
|
||||||
|
pkgname = gf2x
|
6
extra/gf2x/.nvchecker.toml
Normal file
6
extra/gf2x/.nvchecker.toml
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
[gf2x]
|
||||||
|
source = 'gitlab'
|
||||||
|
gitlab = 'gf2x/gf2x'
|
||||||
|
host = 'gitlab.inria.fr'
|
||||||
|
use_max_tag = true
|
||||||
|
prefix = 'gf2x-'
|
|
@ -5,27 +5,36 @@
|
||||||
|
|
||||||
pkgname=gf2x
|
pkgname=gf2x
|
||||||
pkgver=1.3.0
|
pkgver=1.3.0
|
||||||
pkgrel=2
|
pkgrel=3
|
||||||
pkgdesc='A library for multiplying polynomials over the binary field'
|
pkgdesc='A library for multiplying polynomials over the binary field'
|
||||||
arch=(x86_64)
|
arch=(x86_64)
|
||||||
url='https://gforge.inria.fr/projects/gf2x/'
|
url='https://gitlab.inria.fr/gf2x/gf2x'
|
||||||
license=(GPL LGPL)
|
license=(GPL-3.0-or-later)
|
||||||
depends=(glibc)
|
depends=(glibc)
|
||||||
source=(https://gitlab.inria.fr/gf2x/gf2x/uploads/c46b1047ba841c20d1225ae73ad6e4cd/gf2x-$pkgver.tar.gz)
|
makedepends=(git)
|
||||||
sha256sums=('9472cd651972a1de38e3c4c47697a86e0ecf19d7d33454d4bc2a62bc85841b59')
|
source=(git+https://gitlab.inria.fr/gf2x/gf2x#tag=gf2x-$pkgver)
|
||||||
|
sha256sums=('becc47f5ca6e549393ea70147f7dc7b52d88af0ed5bfb9f2e3a4c47658bf48e9')
|
||||||
|
|
||||||
|
prepare() {
|
||||||
|
cd gf2x
|
||||||
|
git cherry-pick -n a2f0fd388c12ca0b9f4525c6cfbc515418dcbaf8 # Fix build
|
||||||
|
autoreconf -vi
|
||||||
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd gf2x-$pkgver
|
cd gf2x
|
||||||
./configure --prefix=/usr --disable-pclmul
|
./configure \
|
||||||
|
--prefix=/usr \
|
||||||
|
--disable-pclmul
|
||||||
make
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
check() {
|
check() {
|
||||||
cd gf2x-$pkgver
|
cd gf2x
|
||||||
make -k check
|
make -k check
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd gf2x-$pkgver
|
cd gf2x
|
||||||
make prefix="$pkgdir"/usr install
|
make prefix="$pkgdir"/usr install
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue