diff options
author | root <root@rshg054.dnsready.net> | 2012-11-09 01:24:21 -0800 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-11-09 01:24:21 -0800 |
commit | c865fc041a0945e396f139a86315f6a25b1d4dec (patch) | |
tree | 95e232fb3fc00a803572f8e58af5b08d55ca070f /extra/intel-tbb | |
parent | e5f99abe2484d8fdfd1b2d57ba2233e027e9b64c (diff) |
Fri Nov 9 01:24:21 PST 2012
Diffstat (limited to 'extra/intel-tbb')
-rw-r--r-- | extra/intel-tbb/PKGBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/extra/intel-tbb/PKGBUILD b/extra/intel-tbb/PKGBUILD new file mode 100644 index 000000000..51dfef170 --- /dev/null +++ b/extra/intel-tbb/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 170541 2012-11-08 12:12:44Z stephane $ +# Maintainer: Stéphane Gaudreault <stephane@archlinux.org> +# Contributor: Thomas Dziedzic < gostrc at gmail > +# Contributor: Denis Martinez <deuns.martinez AT gmail.com> + +pkgname=intel-tbb +pkgver=4.1_20120718 +pkgrel=2 +pkgdesc='High level abstract threading library' +arch=('i686' 'x86_64') +url='http://www.threadingbuildingblocks.org/' +license=('GPL') +depends=('gcc-libs') +source=("http://threadingbuildingblocks.org/uploads/77/188/4.1/tbb${pkgver/\./}oss_src.tgz") +sha1sums=('3fad942c867f032dc5ddeccd7ca19606eda7065d') + +build() { + cd "${srcdir}"/tbb${pkgver/\./}oss + + make +} + +package() { + cd "${srcdir}"/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 +} |