desktop/intel-tbb/PKGBUILD

38 lines
936 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
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
2013-12-09 19:02:01 +08:00
_pkgname=tbb42
_ver=20131118
2011-02-26 22:58:38 +08:00
pkgname=intel-tbb
2013-12-09 19:02:01 +08:00
pkgver=4.2u2
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.'
arch=('i686' '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")
md5sums=('df3cf93f8a4c1d9f67d5d25c68499717')
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
}