mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-11 23:54:37 +08:00
33 lines
616 B
Bash
33 lines
616 B
Bash
# $Id$
|
|
# Maintainer: Antonio Rojas <arojas@archlinux.org>
|
|
# Contributor: Rémy Oudompheng <oudomphe@clipper.ens.fr>
|
|
|
|
pkgname=m4ri
|
|
pkgver=20140914
|
|
pkgrel=1
|
|
pkgdesc="Algorithms for linear algebra over F_2"
|
|
arch=('i686' 'x86_64')
|
|
url="http://m4ri.sagemath.org/"
|
|
license=('GPL')
|
|
depends=('libpng')
|
|
source=(http://m4ri.sagemath.org/downloads/m4ri/$pkgname-$pkgver.tar.gz)
|
|
md5sums=('91d964b6c6754499da81277433605199')
|
|
|
|
build() {
|
|
cd $pkgname-$pkgver
|
|
./configure --prefix=/usr --with-openmp
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd $pkgname-$pkgver
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
cd $pkgname-$pkgver
|
|
make install DESTDIR="$pkgdir"
|
|
}
|
|
|
|
|