diff options
Diffstat (limited to 'community/libtbb/APKBUILD')
-rw-r--r-- | community/libtbb/APKBUILD | 59 |
1 files changed, 0 insertions, 59 deletions
diff --git a/community/libtbb/APKBUILD b/community/libtbb/APKBUILD deleted file mode 100644 index 84d7b101714..00000000000 --- a/community/libtbb/APKBUILD +++ /dev/null @@ -1,59 +0,0 @@ -# Contributor: David Huffman <storedbox@outlook.com> -# Maintainer: David Huffman <storedbox@outlook.com> -pkgname=libtbb -pkgver=2020.3 -pkgrel=1 -pkgdesc="C++ template library for task parallelism" -options="!check" # No testsuite -url="https://github.com/oneapi-src/oneTBB" -arch="all" -license="GPL-2.0-only" -depends_dev="linux-headers libtbb" -makedepends="$depends_dev cmake" -subpackages="$pkgname-dev" -source="tbb-$pkgver.tar.gz::https://github.com/oneapi-src/oneTBB/archive/v$pkgver.tar.gz - musl.patch - tbb.pc - tbbmalloc.pc - tbbmalloc_proxy.pc - " -builddir="$srcdir/oneTBB-$pkgver" - -prepare() { - default_prepare - - sed -i 's|CPLUS = g..|CPLUS = $(CXX)|g' build/linux.gcc.inc - sed -i 's|CONLY = gcc|CONLY = $(CC)|g' build/linux.gcc.inc - - sed -e "s@#define MALLOC_UNIXLIKE_OVERLOAD_ENABLED __linux__@@" \ - -i src/tbbmalloc/proxy.h - - sed -i "s|@@VERSION@@|$pkgver|" -i "$srcdir"/*.pc -} - -build() { - make -} - -package() { - mkdir -p "$pkgdir"/usr/lib - mkdir -p "$pkgdir"/usr/include - - mv build/linux_*/*.so* "$pkgdir"/usr/lib - mv include/tbb "$pkgdir"/usr/include - - cmake \ - -DINSTALL_DIR="$pkgdir"/usr/lib/cmake/TBB \ - -DSYSTEM_NAME=Linux \ - -DLIB_REL_PATH=../.. \ - -DINC_REL_PATH=../../../include \ - -P cmake/tbb_config_installer.cmake - - install -Dm0644 "$srcdir"/*.pc -t "$pkgdir"/usr/lib/pkgconfig -} - -sha512sums="ea1ffd22c7234d715b8c46a4e51b40719c7a9b8837ab3166f1da5a2c6061167c2be2126b1d74fd361eec6975b8fce0df26829ca2e7af8029edbb52e40f23d630 tbb-2020.3.tar.gz -c5f2d284e63fa3e9a835df45692355946fa3cd2f31ffb775ef8eff18780d28203115e799d70d547526c3a5c2b2290cb032e1eaa6160e188598abe62d89d2480e musl.patch -b7849e84c5f4d868ad19dc4a2433492facd1f75fe6e5cb0afc334e8f07bb4657d318ee1bc53f7890bfb8a87c7233bba85b61aba2aec9ea3dc24652a4bdec4dde tbb.pc -25b0bfe2067f287064f81dc434ac70336ad42fdd7fa91cded2e467f3939000480e1012675dc4e435a1712cf9b968cb565f213dfffb3f69ad46929aec237b9a02 tbbmalloc.pc -5952862755736fb85982281b3953183ed9d4657497a7f6bae1ef66bd1e2265882773764f07e46679b2aa750f80f47cc2a019024822ab5fa272b718c539ef3462 tbbmalloc_proxy.pc" |