void-packages/srcpkgs/libArcus/template
2018-11-26 04:11:55 -02:00

33 lines
943 B
Bash

# Template file for 'libArcus'
pkgname=libArcus
version=3.6.0
revision=1
build_style=cmake
configure_args="-DBUILD_EXAMPLES=OFF"
hostmakedepends="protobuf python3-sip-devel"
makedepends="protobuf-devel python3-devel python3-sip-devel"
depends="python3-sip"
short_desc="Communication library for Ultimaker software components"
maintainer="Karl Nilsson <karl.robert.nilsson@gmail.com>"
license="LGPL-3.0-or-later"
homepage="https://github.com/Ultimaker/libArcus"
distfiles="https://github.com/Ultimaker/libArcus/archive/${version}.tar.gz"
checksum=d9dee21a558e3a13b23f5ee5f264e08ec8f231a0b6a6354f6eabb081a9e5da9f
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() {
lib32disabled=yes
short_desc+=" - Python3 bindings"
pkg_install() {
vmove "usr/lib/python3*"
}
}