[arch-commits] Commit in intel-tbb/repos (staging-x86_64 staging-x86_64/PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Tue Oct 15 16:37:20 UTC 2019
Date: Tuesday, October 15, 2019 @ 16:37:20
Author: arojas
Revision: 365049
archrelease: copy trunk to staging-x86_64
Added:
intel-tbb/repos/staging-x86_64/
intel-tbb/repos/staging-x86_64/PKGBUILD
(from rev 365048, intel-tbb/trunk/PKGBUILD)
----------+
PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
Copied: intel-tbb/repos/staging-x86_64/PKGBUILD (from rev 365048, intel-tbb/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2019-10-15 16:37:20 UTC (rev 365049)
@@ -0,0 +1,36 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Stéphane Gaudreault <stephane at archlinux.org>
+# Contributor: Thomas Dziedzic < gostrc at gmail >
+# Contributor: Denis Martinez <deuns.martinez AT gmail.com>
+# Contributor: Bogdan Burlacu <bogdan.burlacu AT pm.me>
+
+pkgname=intel-tbb
+pkgver=2019.9
+_tagname=${pkgver/./_U}
+pkgrel=1
+pkgdesc='High level abstract threading library'
+arch=(x86_64)
+url='https://www.threadingbuildingblocks.org/'
+license=(GPL)
+depends=(gcc-libs)
+makedepends=(cmake inetutils)
+source=($pkgname-$pkgver.tar.gz::https://github.com/01org/tbb/archive/$_tagname.tar.gz)
+sha256sums=('15652f5328cf00c576f065e5cd3eaf3317422fe82afb67a9bcec0dc065bd2abe')
+
+build() {
+ cd tbb-$_tagname
+ sed -i '/debug/d' Makefile
+ make
+}
+
+package() {
+ cd tbb-$_tagname
+ 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
+ cmake \
+ -DINSTALL_DIR="$pkgdir"/usr/lib/cmake/TBB \
+ -DSYSTEM_NAME=Linux -DTBB_VERSION_FILE="$pkgdir"/usr/include/tbb/tbb_stddef.h \
+ -P cmake/tbb_config_installer.cmake
+}
More information about the arch-commits
mailing list