desktop/intel-tbb/PKGBUILD

35 lines
846 B
Bash
Raw Normal View History

2011-02-26 22:58:38 +08:00
#
# Chakra Packages for Chakra, part of chakra-project.org
#
2013-12-09 19:02:01 +08:00
# Contributor: Giuseppe Calà <jiveaxe@gmail.com>
# Maintainer: Bruce Liu <rainman59118@gmail.com>
2011-02-26 22:58:38 +08:00
2014-12-17 00:02:19 +08:00
_pkgname=tbb43
_ver=20141204
2013-12-09 19:02:01 +08:00
2011-02-26 22:58:38 +08:00
pkgname=intel-tbb
2014-12-17 00:02:19 +08:00
pkgver=4.3u2
2011-02-26 22:58:38 +08:00
pkgrel=1
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')
2013-12-09 19:02:01 +08:00
source=("${url}/sites/default/files/software_releases/source/${_pkgname}_${_ver}oss_src.tgz")
2014-12-17 00:02:19 +08:00
md5sums=('e903dd92d9433701f097fa7ca29a3c1f')
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
}