blob: 3e7d2f431f39de438876be99791801609ff571de (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
|
SUMMARY = "Slic3r - G-code generator for 3D printers"
DESCRIPTION = "Slic3r takes 3D models (STL, OBJ, AMF) and converts them into \
G-code instructions for 3D printers. It's compatible with any modern printer \
based on the RepRap toolchain, including all those based on the Marlin, \
Sprinter and Repetier firmware. It also works with Mach3 and LinuxCNC \
controllers. \
"
HOMEPAGE = "http://slic3r.org/"
SECTION = "devel"
LICENSE = "AGPL-3.0 | CC-BY-3.0"
LIC_FILES_CHKSUM = "file://README.md;beginline=77;endline=84;md5=4e907cb01787f6711506359a57c22961"
export SLIC3R_NO_AUTO = "1"
export PERL_MM_USE_DEFAULT = "1"
export PERL_AUTOINSTALL = "--skipdeps"
export PERL_MM_OPT = "INSTALLDIRS=vendor DESTDIR=${D}"
export PERL_MB_OPT = "--installdirs vendor --destdir ${D}"
export MODULEBUILDRC = "/dev/null"
DEPENDS = " libcapture-tiny-perl-native \
libconstant-defer-perl-native \
libencode-locale-perl-native \
libextutils-cppguess-perl-native \
libextutils-typemaps-default-perl-native \
libio-stringy-perl-native \
libmath-libm-perl-native \
libmath-planepath-perl-native \
libmodule-build-withxspp-perl-native \
libmoo-perl-native \
libslic3r-xs-perl-native \
"
PACKAGES =+ "gui"
DEPENDS_${PN}-gui = " libwx-perl-native"
RECOMMENDS_${PN}-gui = " libgrowl-gntp-perl-native \
libwx-glcanvas-perl-native \
libopengl-perl-native \
"
SRC_URI = "git://github.com/alexrj/Slic3r.git"
SRCREV = "f82a8475a1ccd7ca9ebddd31d6b60953a26b5f39"
S = "${WORKDIR}/git"
inherit cpan_build
RDEPENDS_${PN} = " libencode-locale-perl \
libextutils-makemaker-perl \
libextutils-parsexs-perl \
perl-module-file-basename \
perl-module-file-spec \
perl-module-findbin \
perl-module-getopt-long \
libmath-planepath-perl \
libmodule-build-withxspp-perl \
libmoo-perl \
perl-module-scalar-util \
libtest-harness-perl \
libio-scalar-perl \
libslic3r-perl \
libslic3r-xs-perl \
perl-module-time-hires \
"
RECOMMENDS += " libclass-xsaccessor-perl-native \
libgrowl-gntp-perl-native \
libxml-sax-expatxs-perl-native \
libwx-perl-native \
"
do_compile() {
bbnote "No Build script generated. Skip."
}
do_install() {
install -d ${D}${bindir}
install -m 755 ${S}/slic3r.pl ${D}${bindir}
}
FILES_${PN} = "${bindir}/slic3r.pl"
BBCLASSEXTEND = "native"
|