void-packages/srcpkgs/Slic3rPE/template

23 lines
839 B
Bash

# Template file for 'Slic3rPE'
pkgname=Slic3rPE
version=1.42.0
revision=1
_status="-alpha7"
wrksrc="Slic3r-version_${version}${_status}"
build_style=cmake
configure_args="-DSLIC3R_WX_STABLE=1 -DSLIC3R_FHS=1"
hostmakedepends="pkg-config"
makedepends="boost-devel tbb-devel libcurl-devel nlopt-devel gtest-devel
wxWidgets-devel glu-devel libpng-devel"
short_desc="G-code generator for 3D printers, Prusa Edition"
maintainer="Jasper Chan <jasperchan515@gmail.com>"
license="GPL-3.0-or-later"
homepage="https://www.prusa3d.com/slic3r-prusa-edition/"
distfiles="https://github.com/prusa3d/Slic3r/archive/version_${version}${_status}.tar.gz"
checksum=ebe991a3fbd2fc49560d59942353c5e32f2373365e903b7979a0312c2bf97ccf
nocross="tries to run avrdude-conf-gen which is compiled for target"
post_install() {
mv ${DESTDIR}/usr/bin/slic3r-{gui,pe}
}