public
Last active

Updated package build for gf2x.

  • Download Gist
gf2x.PKGBUILD
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
pkgname=gf2x
pkgver=1.1
pkgrel=1
pkgdesc="A library for multiplying polynomials over the binary field"
arch=('i686' 'x86_64')
url="http://gforge.inria.fr/projects/gf2x/"
license=('GPL' 'LGPL')
depends=('glibc')
options=('!libtool')
source=("http://gforge.inria.fr/frs/download.php/30873/gf2x-1.1.tar.gz")
 
build() {
cd "$srcdir/$pkgname-$pkgver"
opts=""
if ! (fgrep -qw sse2 /proc/cpuinfo) ; then opts="--disable-sse2" ; fi
./configure --prefix=/usr $opts
make
}
 
check() {
cd "$srcdir/$pkgname-$pkgver"
make -k check
}
 
package() {
cd "$srcdir/$pkgname-$pkgver"
make prefix="$pkgdir/usr" install
}
 
sha256sums=('0d3f01604680102a00ca34e079903cc4d5a3208afda223748979b724d358849f')

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.