PKGBUILDs/extra/gf2x/PKGBUILD

32 lines
727 B
Bash
Raw Normal View History

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
2021-11-15 21:25:08 +00:00
pkgrel=2
pkgdesc='A library for multiplying polynomials over the binary field'
2018-11-13 19:38:59 +00:00
arch=(x86_64)
2021-11-15 21:25:08 +00:00
url='https://gforge.inria.fr/projects/gf2x/'
2015-11-02 13:17:14 +00:00
license=(GPL LGPL)
depends=(glibc)
2021-11-15 21:25:08 +00:00
source=(https://gitlab.inria.fr/gf2x/gf2x/uploads/c46b1047ba841c20d1225ae73ad6e4cd/gf2x-$pkgver.tar.gz)
2019-12-10 19:21:39 +00:00
sha256sums=('9472cd651972a1de38e3c4c47697a86e0ecf19d7d33454d4bc2a62bc85841b59')
2015-02-21 18:11:54 +00:00
build() {
2021-11-15 21:25:08 +00:00
cd gf2x-$pkgver
2015-11-02 13:17:14 +00:00
./configure --prefix=/usr --disable-pclmul
2015-02-21 18:11:54 +00:00
make
}
check() {
2021-11-15 21:25:08 +00:00
cd gf2x-$pkgver
2015-02-21 18:11:54 +00:00
make -k check
}
package() {
2021-11-15 21:25:08 +00:00
cd gf2x-$pkgver
2015-02-21 18:11:54 +00:00
make prefix="$pkgdir"/usr install
}