void-packages/srcpkgs/cura-engine/template

28 lines
876 B
Bash
Raw Normal View History

2017-06-28 17:42:52 +02:00
# Template file for 'cura-engine'
pkgname=cura-engine
2017-10-30 21:15:08 +01:00
version=3.0.3
2017-06-28 17:42:52 +02:00
revision=1
build_style=cmake
wrksrc="CuraEngine-${version}"
configure_args="-DCURA_ENGINE_VERSION:STRING=${version}"
hostmakedepends="protobuf"
makedepends="libArcus-devel protobuf-devel libgomp-devel"
depends="libArcus libgomp"
short_desc="Engine for processing 3D models into GCode"
maintainer="Karl Nilsson <karl.robert.nilsson@gmail.com>"
license="AGPL-3"
homepage="https://github.com/Ultimaker/CuraEngine"
distfiles="https://github.com/Ultimaker/CuraEngine/archive/${version}.tar.gz"
2017-10-30 21:15:08 +01:00
checksum=a8e9b99b42844dce1516c21e4d46bc40e17afbb3abec9ef92f3bb352d3cb12fb
2017-11-03 18:10:06 +01:00
CXXFLAGS="-D_GLIBCXX_USE_C99_STDIO=1 -D_GLIBCXX_USE_C99_STDLIB=1"
pre_configure() {
# Can't link against libstdc++.a because of R_X86_64_32 relocations
sed -i CMakeLists.txt -e"s; -static-libstdc++;;"
}
2017-10-30 21:15:08 +01:00
post_install() {
vlicense LICENSE
}