32 lines
878 B
Bash
32 lines
878 B
Bash
# Template file for 'tbb'
|
|
pkgname=tbb
|
|
version=4.3.20150611
|
|
revision=1
|
|
_lv="${version%.*}"
|
|
_lv="${_lv//.}"
|
|
_rv="${version##*.}"
|
|
only_for_archs="i686 x86_64"
|
|
wrksrc="$pkgname${_lv}_${_rv}oss"
|
|
build_style=gnu-makefile
|
|
short_desc="Intel Threading Building Blocks"
|
|
maintainer="Andrea Brancaleoni <miwaxe@gmail.com>"
|
|
license="GPL-2"
|
|
homepage="http://www.threadingbuildingblocks.org"
|
|
distfiles="https://www.threadingbuildingblocks.org/sites/default/files/software_releases/source/tbb${_lv}_${_rv}oss_src.tgz"
|
|
checksum=221f85fe64e11c9638e43b3c57d5750c26683905fc90827c0bcfefdb286e79c9
|
|
|
|
do_install() {
|
|
vmkdir usr/lib
|
|
vcopy build/linux_*/*.so* usr/lib
|
|
vmkdir usr/include/tbb
|
|
vcopy include/tbb/* usr/include/tbb
|
|
}
|
|
|
|
tbb-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|