PKGBUILDs/community/gf2x/PKGBUILD

33 lines
722 B
Bash
Raw Normal View History

2015-11-02 13:17:14 +00:00
# $Id$
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
2017-07-03 17:57:52 +00:00
pkgver=1.2
pkgrel=1
2015-02-21 18:11:54 +00:00
pkgdesc="A library for multiplying polynomials over the binary field"
2015-11-02 13:17:14 +00:00
arch=(i686 x86_64)
2015-02-21 18:11:54 +00:00
url="http://gforge.inria.fr/projects/gf2x/"
2015-11-02 13:17:14 +00:00
license=(GPL LGPL)
depends=(glibc)
2017-07-03 17:57:52 +00:00
source=("https://gforge.inria.fr/frs/download.php/36934/gf2x-$pkgver.tar.gz")
sha256sums=('61427ffa03b5006aa154def6dce8bcff0fdefb3bd72f43fb1a7b4fdd6b80db34')
2015-02-21 18:11:54 +00:00
build() {
cd $pkgname-$pkgver
2015-11-02 13:17:14 +00:00
./configure --prefix=/usr --disable-pclmul
2015-02-21 18:11:54 +00:00
make
}
check() {
cd $pkgname-$pkgver
make -k check
}
package() {
cd $pkgname-$pkgver
make prefix="$pkgdir"/usr install
}