Files
main/programming/misc/intel-tbb/files/install.sh
T
2021-07-01 16:47:00 +03:00

20 lines
386 B
Bash

#!/bin/bash
DESTDIR=$1
mkdir -p $DESTDIR/usr/{lib,include}
pushd build/obj_release
for file in libtbb{,malloc,malloc_proxy}; do
install -p -D -m 755 ${file}.so.2 $DESTDIR/usr/lib/
ln -s $file.so.2 $DESTDIR/usr/lib/$file.so
done
popd
pushd include
find tbb -type f -name \*.h -exec \
install -p -D -m 644 {} $DESTDIR/usr/include/{} \
\;
popd