desktop/intel-tbb/PKGBUILD
2013-12-09 11:02:01 +00:00

38 lines
936 B
Bash

#
# Chakra Packages for Chakra, part of chakra-project.org
#
# Contributor: Giuseppe Calà <jiveaxe@gmail.com>
# Maintainer: Bruce Liu <rainman59118@gmail.com>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
_pkgname=tbb42
_ver=20131118
pkgname=intel-tbb
pkgver=4.2u2
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')
url='https://www.threadingbuildingblocks.org/'
license=('GPL')
source=("${url}/sites/default/files/software_releases/source/${_pkgname}_${_ver}oss_src.tgz")
md5sums=('df3cf93f8a4c1d9f67d5d25c68499717')
build() {
cd ${_pkgname}_${_ver}oss
make
}
package() {
cd ${_pkgname}_${_ver}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
}