updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / qthread / PKGBUILD
blob0023415506d6ed7193cc36d25ae2aeb45890028d
1 # Maintainer: Speedx <guhee1991@163.com>
2 pkgname=qthread
3 pkgver=1.7
4 pkgrel=1
5 pkgdesc="The qthreads API is designed to make using large numbers of threads convenient and easy, and to allow portable access to threading constructs used in massively parallel shared memory environments."
6 arch=('i686' 'x86_64')
7 url="http://www.cs.sandia.gov/qthreads/"
8 license=('custom')
9 makedepends=('make' 'gcc')
10 source="http://qthreads.googlecode.com/files/$pkgname-$pkgver.tar.bz2"
11 md5sums=('83f01a920dbf5adab313a4e70609016d')
13 build() {
14         cd "$srcdir"/"$pkgname-$pkgver"
15         ./configure --prefix=/usr
16         make
18         install -m755 -d $startdir/pkg/usr/share/licenses/qthread
19         install -m644 $startdir/COPYING $startdir/pkg/usr/share/licenses/qthread/
22 package() {
23         cd "$srcdir"/$pkgname-$pkgver
24         make prefix="$pkgdir"/usr install