mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
35 lines
1,003 B
Bash
35 lines
1,003 B
Bash
# $Id$
|
|
# Maintainer: Stéphane Gaudreault <stephane@archlinux.org>
|
|
# Contributor: Thomas Dziedzic < gostrc at gmail >
|
|
# Contributor: Denis Martinez <deuns.martinez AT gmail.com>
|
|
|
|
# ALARM: Romain Reignier <rom.reignier AT gmail.com>
|
|
# - add armv7h architecture
|
|
# - add specfic CXXFLAGS for armv7h
|
|
|
|
buildarch=4
|
|
|
|
pkgname=intel-tbb
|
|
pkgver=4.3_20150611
|
|
pkgrel=1
|
|
pkgdesc='High level abstract threading library'
|
|
arch=('i686' 'x86_64')
|
|
url='http://www.threadingbuildingblocks.org/'
|
|
license=('GPL')
|
|
depends=('gcc-libs')
|
|
source=("http://threadingbuildingblocks.org/sites/default/files/software_releases/source/tbb${pkgver/\./}oss_src.tgz")
|
|
sha1sums=('5457cd15ad13625442283e67844199a79e88a3a4')
|
|
|
|
build() {
|
|
cd tbb${pkgver/\./}oss
|
|
CXXFLAGS+=" -DTBB_USE_GCC_BUILTINS=1 -D__TBB_64BIT_ATOMICS=0"
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd tbb${pkgver/\./}oss
|
|
install -d "${pkgdir}"/usr/lib
|
|
install -m755 build/linux_*/*.so* "${pkgdir}"/usr/lib
|
|
install -d "${pkgdir}"/usr/include
|
|
cp -a include/tbb "${pkgdir}"/usr/include
|
|
}
|