35 lines
889 B
Bash
35 lines
889 B
Bash
|
# Template file for 'embb'
|
||
|
pkgname=embb
|
||
|
version=1.0.0
|
||
|
revision=1
|
||
|
build_style=cmake
|
||
|
configure_args="-DUSE_C11_AND_CXX11=ON -DBUILD_SHARED_LIBS=ON -DBUILD_TESTS=OFF -DINSTALL_PREFIX=/usr"
|
||
|
short_desc="Library for parallel programming of embedded systems"
|
||
|
maintainer="Florian Eich <flrn@nrmncr.net>"
|
||
|
license="BSD-2"
|
||
|
homepage="https://embb.io/"
|
||
|
distfiles="https://github.com/siemens/embb/releases/download/v${version}/embb-${version}.tar.gz"
|
||
|
checksum=a392c710df719bbb1513dd9a6835ab9d73494d7355a47f17e818179fea64dcc8
|
||
|
|
||
|
post_install() {
|
||
|
vlicense COPYING.md
|
||
|
}
|
||
|
|
||
|
embb-devel_package() {
|
||
|
short_desc+=" - development files"
|
||
|
depends="${sourcepkg}>=${version}_${revision}"
|
||
|
pkg_install() {
|
||
|
vmove usr/include
|
||
|
vmove usr/lib/*.a
|
||
|
vmove usr/lib/*.so
|
||
|
}
|
||
|
}
|
||
|
|
||
|
embb-doc_package() {
|
||
|
short_desc+=" - documentation"
|
||
|
depends="${sourcepkg}>=${version}_${revision}"
|
||
|
pkg_install() {
|
||
|
vmove usr/share/doc
|
||
|
}
|
||
|
}
|