summaryrefslogtreecommitdiff
path: root/community/intel-tbb/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/intel-tbb/PKGBUILD')
-rw-r--r--community/intel-tbb/PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/community/intel-tbb/PKGBUILD b/community/intel-tbb/PKGBUILD
new file mode 100644
index 000000000..f3f1c41d0
--- /dev/null
+++ b/community/intel-tbb/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: Thomas Dziedzic < gostrc at gmail >
+# Contributor: Denis Martinez <deuns.martinez AT gmail.com>
+
+pkgname=intel-tbb
+pkgver=3.0_20101215
+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')
+url='http://www.threadingbuildingblocks.org/'
+license=('GPL')
+source=("http://www.threadingbuildingblocks.org/uploads/77/164/3.0%20Update%205/tbb30_20101215oss_src.tgz")
+md5sums=('d1f65b7ba8bafda5a8616dfc8159ea05')
+
+build() {
+ cd tbb${pkgver/\./}oss
+
+ 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 -pr include/tbb ${pkgdir}/usr/include
+}