summaryrefslogtreecommitdiff
path: root/community/intel-tbb/PKGBUILD
blob: 4cb2123d719a2e7a51ee323625cdbcffc8f0b4a0 (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
29
30
31
# $Id: PKGBUILD 61487 2012-01-01 12:33:54Z andrea $
# Maintainer:
# Contributor: Thomas Dziedzic < gostrc at gmail >
# Contributor: Denis Martinez <deuns.martinez AT gmail.com>

pkgname=intel-tbb
pkgver=4.0_20111130
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')
depends=('gcc-libs')
source=("http://threadingbuildingblocks.org/uploads/77/180/4.0%20update%202/tbb40_20111130oss_src.tgz")
md5sums=('1e6926b21e865e79772119cd44fc3ad8')

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
}