void-packages/srcpkgs/Slic3rPE/template
2019-03-24 12:12:42 -03:00

22 lines
837 B
Bash

# Template file for 'Slic3rPE'
pkgname=Slic3rPE
version=1.42.0
revision=2
_status="-beta"
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=d33f20b51dcf58eb048780df050e859969fbd8bcb8534f93a588035179804fcd
nocross="tries to run avrdude-conf-gen which is compiled for target"
post_install() {
mv ${DESTDIR}/usr/bin/slic3r-{gui,pe}
}