mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
31 lines
710 B
Bash
31 lines
710 B
Bash
# Maintainer: Antonio Rojas <arojas@archlinux.org>
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
# - removed sse2 configure/cflags options
|
|
|
|
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 --disable-pclmul
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd $pkgname-$pkgver
|
|
make -k check
|
|
}
|
|
|
|
package() {
|
|
cd $pkgname-$pkgver
|
|
make prefix="$pkgdir"/usr install
|
|
}
|