desktop/intel-tbb/PKGBUILD

29 lines
703 B
Bash
Raw Normal View History

2011-02-26 22:58:38 +08:00
pkgname=intel-tbb
2015-10-06 18:48:46 +08:00
pkgver=4.4
2011-02-26 22:58:38 +08:00
pkgrel=1
2015-10-06 18:48:46 +08:00
_pkgname=tbb44
_ver=20150728
2011-02-26 22:58:38 +08:00
pkgdesc='An award-winning C++ runtime library that abstracts the low-level threading details necessary for optimal multi-core performance.'
2014-12-17 00:02:19 +08:00
arch=('x86_64')
2013-12-09 19:02:01 +08:00
url='https://www.threadingbuildingblocks.org/'
2011-02-26 22:58:38 +08:00
license=('GPL')
2015-10-06 18:48:46 +08:00
depends=('gcc-libs')
2013-12-09 19:02:01 +08:00
source=("${url}/sites/default/files/software_releases/source/${_pkgname}_${_ver}oss_src.tgz")
2015-10-06 18:48:46 +08:00
md5sums=('2ef1d8cb790324c09aa17360d75dd619')
2011-02-26 22:58:38 +08:00
build() {
2013-12-09 19:02:01 +08:00
cd ${_pkgname}_${_ver}oss
2011-02-26 22:58:38 +08:00
make
}
package() {
2013-12-09 19:02:01 +08:00
cd ${_pkgname}_${_ver}oss
2011-02-26 22:58:38 +08:00
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
}