forked from pool/cura-engine-lulzbot
sync
OBS-URL: https://build.opensuse.org/package/show/science/cura-engine-lulzbot?expand=0&rev=41
This commit is contained in:
parent
b8a21ec973
commit
dcc0d771a2
@ -50,9 +50,8 @@ This is the LulzBot variation of the engine.
|
|||||||
export CC=gcc-6
|
export CC=gcc-6
|
||||||
export CXX=g++-6
|
export CXX=g++-6
|
||||||
%endif
|
%endif
|
||||||
# make sure internal lib_CuraEngine is statically build and linked
|
%cmake -DCMAKE_C_FLAGS="%{optflags} -fPIC" \
|
||||||
%cmake -DCMAKE_POSITION_INDEPENDENT_CODE="true" -DBUILD_SHARED_LIBS="false"
|
-DCMAKE_CXX_FLAGS="%{optflags} -fPIC -fpermissive"
|
||||||
|
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -61,12 +60,13 @@ cd build
|
|||||||
|
|
||||||
install -Dm0644 %{SOURCE1} %{buildroot}%{_mandir}/man1/CuraEngine-lulzbot.1
|
install -Dm0644 %{SOURCE1} %{buildroot}%{_mandir}/man1/CuraEngine-lulzbot.1
|
||||||
mv %buildroot%_bindir/CuraEngine{,-lulzbot}
|
mv %buildroot%_bindir/CuraEngine{,-lulzbot}
|
||||||
|
# hack... not ready for the distro
|
||||||
|
install -Dm0755 lib_CuraEngine.so %{buildroot}%{_libdir}/lib_CuraEngine.so
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc README.md Changelog.md
|
%defattr(-,root,root,-)
|
||||||
%license LICENSE
|
|
||||||
%_bindir/CuraEngine-lulzbot
|
%_bindir/CuraEngine-lulzbot
|
||||||
|
%_libdir/*
|
||||||
%_mandir/man1/CuraEngine-lulzbot.1*
|
%_mandir/man1/CuraEngine-lulzbot.1*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user