updated on Sat Jan 14 12:12:45 UTC 2012
[aur-mirror.git] / cilk / PKGBUILD
blob9c2403cac4a29d277b2b95c201c4862621ada463
1 # Maintainer: Tianyi Cui <tianyicui@gmail.com>
2 pkgname=cilk
3 pkgver=5.4.6
4 pkgrel=1
5 pkgdesc="General-purpose programming language designed for multithreaded parallel computing."
6 arch=(i686 x86_64)
7 license=('GPL')
8 url="http://supertech.csail.mit.edu/cilk/"
9 depends=('gcc>=2.9.5' 'glibc>=2.1')
10 options=('!makeflags')
11 source=(http://supertech.csail.mit.edu/cilk/${pkgname}-${pkgver}.tar.gz)
12 md5sums=('8ee528dee8072d158687560735a8d15b')
14 build() {
15   cd ${startdir}/src/${pkgname}-${pkgver}
16   CFLAGS='-O2' ./configure --prefix=/usr || return 1
17   make || return 1
18   make check || (echo 'Test failed...'; return 1)
19   make DESTDIR=${startdir}/pkg install