2015-02-21 18:11:54 +00:00
|
|
|
# Maintainer: Antonio Rojas <arojas@archlinux.org>
|
|
|
|
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
|
|
# - removed sse2 configure/cflags options
|
|
|
|
|
|
|
|
pkgname=gf2x
|
2019-12-10 19:21:39 +00:00
|
|
|
pkgver=1.3.0
|
2024-07-03 00:30:46 +00:00
|
|
|
pkgrel=3
|
2021-11-15 21:25:08 +00:00
|
|
|
pkgdesc='A library for multiplying polynomials over the binary field'
|
2018-11-13 19:38:59 +00:00
|
|
|
arch=(x86_64)
|
2024-07-03 00:30:46 +00:00
|
|
|
url='https://gitlab.inria.fr/gf2x/gf2x'
|
|
|
|
license=(GPL-3.0-or-later)
|
2015-11-02 13:17:14 +00:00
|
|
|
depends=(glibc)
|
2024-07-03 00:30:46 +00:00
|
|
|
makedepends=(git)
|
|
|
|
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
|
|
|
|
}
|
2015-02-21 18:11:54 +00:00
|
|
|
|
|
|
|
build() {
|
2024-07-03 00:30:46 +00:00
|
|
|
cd gf2x
|
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--disable-pclmul
|
2015-02-21 18:11:54 +00:00
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
check() {
|
2024-07-03 00:30:46 +00:00
|
|
|
cd gf2x
|
2015-02-21 18:11:54 +00:00
|
|
|
make -k check
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2024-07-03 00:30:46 +00:00
|
|
|
cd gf2x
|
2015-02-21 18:11:54 +00:00
|
|
|
make prefix="$pkgdir"/usr install
|
|
|
|
}
|