summaryrefslogtreecommitdiff
path: root/community/intel-tbb/PKGBUILD
blob: 0c9f0a9d53b133d9d55b79e0dc731d28d5dfeb62 (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 67699 2012-03-14 01:27:34Z stephane $
# Maintainer: Stéphane Gaudreault <stephane@archlinux.org>
# Contributor: Thomas Dziedzic < gostrc at gmail >
# Contributor: Denis Martinez <deuns.martinez AT gmail.com>

pkgname=intel-tbb
pkgver=4.0_20120201
pkgrel=1
pkgdesc='High level abstract threading library'
arch=('i686' 'x86_64' 'mips64el')
url='http://www.threadingbuildingblocks.org/'
license=('GPL')
depends=('gcc-libs')
source=("http://threadingbuildingblocks.org/uploads/77/182/4.0%20update%203/tbb40_20120201oss_src.tgz")
md5sums=('4669e7d4adee018de7a7b8b972987218')

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

  make
}

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

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

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