added community/gf2x

This commit is contained in:
Kevin Mihelich 2015-02-21 18:11:54 +00:00
parent a132ee84ac
commit af68cfae4b

32
community/gf2x/PKGBUILD Normal file
View file

@ -0,0 +1,32 @@
# Maintainer: Antonio Rojas <arojas@archlinux.org>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - removed sse2 configure/cflags options
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")
md5sums=('d9ce3a0d8cb6be50e3a1ff6d90be669f')
build() {
cd $pkgname-$pkgver
./configure --prefix=/usr
make
}
check() {
cd $pkgname-$pkgver
make -k check
}
package() {
cd $pkgname-$pkgver
make prefix="$pkgdir"/usr install
}