No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

33 líneas
1.1KB

  1. SHELL:=/bin/bash
  2. ubuntu2004:
  3. # check out revision that is master at the time of writing
  4. git clone https://github.com/magiblot/tvision || true
  5. pushd tvision && \
  6. git checkout 638f963fe4f6c84854f60f1e9c5772bf6603e4b2 && \
  7. popd && \
  8. bash ../ubuntu2004.sh make impl
  9. make package-ubuntu2004
  10. impl:
  11. pushd tvision && \
  12. cmake . -B ./build -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$$PWD/../tvision_out && \
  13. cmake --build ./build && \
  14. pushd build && \
  15. make install
  16. chown 997:997 tvision -R # workaround for not using non-root user for building
  17. package-ubuntu2004:
  18. rm -rf out
  19. mkdir -p out/opt/cppse/build/tvision
  20. cp -prv tvision_out/* out/opt/cppse/build/tvision/
  21. rm -rf cppse_tvision_*_amd64.deb
  22. docker run -v "$$(pwd):/src/" rayburgemeestre/fpm-ubuntu:20.04 fpm -v 1.1 -s dir -t deb -n cppse-tvision --license MPL2 --maintainer "Ray Burgemeestre <ray@cppse.nl>" --description "tvision - build dependency" --url "https://github.com/magiblot/tvision" --deb-generate-changes -C /src/out
  23. clean:
  24. sudo rm -rf tvision*
  25. sudo rm -rf out
  26. shell:
  27. FLAGS="-i --privileged" bash ../ubuntu1804.sh /bin/bash