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.

28 lines
712B

  1. #!/usr/bin/make -f
  2. KXSTUDIO_NO_FASTMATH = y
  3. include /usr/share/dpkg/kxstudio.mk
  4. override_dh_auto_configure:
  5. ./configure --disable-maintainer-mode \
  6. --prefix=/opt/kxstudio \
  7. --enable-static \
  8. --disable-shared \
  9. --disable-docs \
  10. --disable-examples
  11. override_dh_auto_test:
  12. # tests fail with multiple jobs
  13. dh_auto_test -- -j1
  14. override_dh_auto_install:
  15. dh_auto_install
  16. # remove unwanted files
  17. rm $(CURDIR)/debian/libvorbis-static/opt/kxstudio/lib/libvorbis.la
  18. rm $(CURDIR)/debian/libvorbis-static/opt/kxstudio/lib/libvorbisenc.la
  19. rm $(CURDIR)/debian/libvorbis-static/opt/kxstudio/lib/libvorbisfile.la
  20. rm -r $(CURDIR)/debian/libvorbis-static/opt/kxstudio/share/doc
  21. %:
  22. dh $@