extra/intel-tbb to 4.4_20160128-1

This commit is contained in:
Kevin Mihelich 2016-03-03 19:53:44 +00:00
parent 7d32d05606
commit d94473e871

View file

@ -10,26 +10,27 @@
buildarch=12
pkgname=intel-tbb
pkgver=4.4_20151115
_dir=tbb${pkgver/\./}oss
pkgrel=2
pkgver=4.4_20160128
_tag=tbb${pkgver/\./}oss
_file=${_tag}_src_0.tgz
pkgrel=1
pkgdesc='High level abstract threading library'
arch=('i686' 'x86_64')
arch=(i686 x86_64)
url='http://www.threadingbuildingblocks.org/'
license=('GPL')
depends=('gcc-libs')
source=("http://threadingbuildingblocks.org/sites/default/files/software_releases/source/tbb${pkgver/\./}oss_src.tgz")
sha1sums=('5d81fe397e97e74a5645ce30c5b218852c799f07')
license=(GPL)
depends=(gcc-libs)
source=(http://threadingbuildingblocks.org/sites/default/files/software_releases/source/$_file)
sha1sums=('80707e277f69d9b20eeebdd7a5f5331137868ce1')
build() {
cd $_dir
cd $_tag
[[ $CARCH == "armv7h" ]] && CXXFLAGS+=" -DTBB_USE_GCC_BUILTINS=1 -D__TBB_64BIT_ATOMICS=0"
[[ $CARCH == "aarch64" ]] && CXXFLAGS+=" -DTBB_USE_GCC_BUILTINS=1 -D__TBB_64BIT_ATOMICS=1"
make
}
package() {
cd $_dir
cd $_tag
install -d "$pkgdir"/usr/lib
install -m755 build/linux_*/*.so* "$pkgdir"/usr/lib
install -d "$pkgdir"/usr/include