mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-10 15:14:36 +08:00
28 lines
683 B
Bash
28 lines
683 B
Bash
pkgname=intel-tbb
|
|
pkgver=2018_20171205
|
|
_pkgver=2018_U2
|
|
pkgrel=1
|
|
pkgdesc='An award-winning C++ runtime library that abstracts the low-level threading details necessary for optimal multi-core performance.'
|
|
arch=('x86_64')
|
|
url='https://www.threadingbuildingblocks.org/'
|
|
license=('GPL')
|
|
depends=('gcc-libs')
|
|
source=(https://github.com/01org/tbb/archive/$_pkgver.tar.gz)
|
|
sha256sums=('78bb9bae474736d213342f01fe1a6d00c6939d5c75b367e2e43e7bf29a6d8eca')
|
|
|
|
build() {
|
|
cd tbb-$_pkgver
|
|
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd tbb-$_pkgver
|
|
|
|
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
|
|
}
|