summaryrefslogtreecommitdiff
path: root/community/intel-tbb/PKGBUILD
blob: add4370829952558a2c80d4bbba29240f21e1bf9 (plain)
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
# Maintainer: Thomas Dziedzic < gostrc at gmail >
# Contributor: Denis Martinez <deuns.martinez AT gmail.com>

pkgname=intel-tbb
pkgver=3.0_20110427
pkgrel=1
pkgdesc='An award-winning C++ runtime library that abstracts the low-level threading details necessary for optimal multi-core performance.'
arch=('i686' 'x86_64' 'mips64el')
url='http://www.threadingbuildingblocks.org/'
license=('GPL')
source=("http://threadingbuildingblocks.org/uploads/77/171/3.0%20update%207/tbb30_20110427oss_src.tgz")
md5sums=('ba406f4767592179e7930e790036f00a')

build() {
  cd tbb${pkgver/\./}oss

  make
}

package() {
  cd tbb${pkgver/\./}oss

  install -d ${pkgdir}/usr/lib
  install -m755 build/linux_*/*.so* ${pkgdir}/usr/lib

  install -d ${pkgdir}/usr/include
  cp -pr include/tbb ${pkgdir}/usr/include
}