void-packages/srcpkgs/libArcus/template

34 lines
925 B
Bash
Raw Normal View History

2017-06-28 17:42:26 +02:00
# Template file for 'libArcus'
pkgname=libArcus
2018-04-26 10:46:43 +02:00
version=3.3.0
revision=2
2017-06-28 17:42:26 +02:00
build_style=cmake
configure_args="-DBUILD_EXAMPLES=OFF"
2018-04-26 10:46:43 +02:00
hostmakedepends="protobuf python3-sip-devel"
2017-06-28 17:42:26 +02:00
makedepends="protobuf-devel python3-devel"
depends="python3-sip"
short_desc="Communication library for Ultimaker software components"
maintainer="Karl Nilsson <karl.robert.nilsson@gmail.com>"
2018-04-26 10:46:43 +02:00
license="LGPL-3.0-or-later"
2017-06-28 17:42:26 +02:00
homepage="https://github.com/Ultimaker/libArcus"
distfiles="https://github.com/Ultimaker/libArcus/archive/${version}.tar.gz"
2018-04-26 10:46:43 +02:00
checksum=9416731ccc21fc51c7102431e4c9e2a01075676a7a095bdec2dc2a943359940a
2017-06-28 17:42:26 +02:00
libArcus-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
2017-06-28 17:42:26 +02:00
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
2018-04-26 10:46:43 +02:00
vmove "usr/lib/*.so"
2017-06-28 17:42:26 +02:00
}
}
libArcus-python3_package() {
lib32disabled=yes
2017-06-28 17:42:26 +02:00
short_desc+=" - Python3 bindings"
pkg_install() {
2018-04-26 10:46:43 +02:00
vmove "usr/lib/python3*"
2017-06-28 17:42:26 +02:00
}
}