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 CXX=g++-6
|
||||
%endif
|
||||
# make sure internal lib_CuraEngine is statically build and linked
|
||||
%cmake -DCMAKE_POSITION_INDEPENDENT_CODE="true" -DBUILD_SHARED_LIBS="false"
|
||||
|
||||
%cmake -DCMAKE_C_FLAGS="%{optflags} -fPIC" \
|
||||
-DCMAKE_CXX_FLAGS="%{optflags} -fPIC -fpermissive"
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
@ -61,12 +60,13 @@ cd build
|
||||
|
||||
install -Dm0644 %{SOURCE1} %{buildroot}%{_mandir}/man1/CuraEngine-lulzbot.1
|
||||
mv %buildroot%_bindir/CuraEngine{,-lulzbot}
|
||||
# hack... not ready for the distro
|
||||
install -Dm0755 lib_CuraEngine.so %{buildroot}%{_libdir}/lib_CuraEngine.so
|
||||
|
||||
%files
|
||||
%doc README.md Changelog.md
|
||||
%license LICENSE
|
||||
%defattr(-,root,root,-)
|
||||
%_bindir/CuraEngine-lulzbot
|
||||
|
||||
%_libdir/*
|
||||
%_mandir/man1/CuraEngine-lulzbot.1*
|
||||
|
||||
%changelog
|
||||
|
Loading…
x
Reference in New Issue
Block a user