void-packages/srcpkgs/libArcus/template

34 lines
915 B
Bash

# Template file for 'libArcus'
pkgname=libArcus
version=3.1.0
revision=2
build_style=cmake
python_version=3
configure_args="-DBUILD_EXAMPLES=OFF"
hostmakedepends="protobuf python3 python3-sip-devel"
makedepends="protobuf-devel python3-devel"
depends="python3-sip"
short_desc="Communication library for Ultimaker software components"
maintainer="Karl Nilsson <karl.robert.nilsson@gmail.com>"
license="LGPL-3"
homepage="https://github.com/Ultimaker/libArcus"
distfiles="https://github.com/Ultimaker/libArcus/archive/${version}.tar.gz"
checksum=1ce0fc0e979a8d43923727f45408b98fd9d77a520a880fe8a07a33a438fafa50
libArcus-devel_package() {
depends="${sourcepkg}-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove usr/lib/*.so
}
}
libArcus-python3_package() {
short_desc+=" - Python3 bindings"
pkg_install() {
vmove usr/lib/python3*
}
}