External, Non-PPA KXStudio Repository
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
771B

  1. #!/usr/bin/make -f
  2. KXSTUDIO_NO_FASTMATH = y
  3. include /usr/share/dpkg/kxstudio.mk
  4. SUIL_MODULE_DIR = /usr/lib/$(DEB_TARGET_MULTIARCH)/suil-kxstudio
  5. export CFLAGS += -DKXSTUDIO_SUIL_MODULE_DIR='"$(SUIL_MODULE_DIR)"'
  6. export CXXFLAGS += -DKXSTUDIO_SUIL_MODULE_DIR='"$(SUIL_MODULE_DIR)"'
  7. export LDFLAGS += -Wl,-z,nodelete
  8. WAF = python3 ./waf
  9. override_dh_auto_configure:
  10. $(WAF) configure \
  11. --static \
  12. --no-shared \
  13. --prefix=/opt/kxstudio \
  14. --strict
  15. override_dh_auto_build:
  16. $(WAF)
  17. override_dh_auto_clean:
  18. $(WAF) clean || true
  19. override_dh_auto_install:
  20. $(WAF) install --destdir=$(CURDIR)/debian/tmp
  21. mkdir -p $(CURDIR)/debian/tmp/usr/lib/$(DEB_TARGET_MULTIARCH)
  22. mv $(CURDIR)/debian/tmp/opt/kxstudio/lib/suil-0 $(CURDIR)/debian/tmp$(SUIL_MODULE_DIR)
  23. %:
  24. dh $@