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.

33 lines
777B

  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. --enable-lfs-alias \
  10. --with-audio=dummy \
  11. -with-cpu=generic_nofpu \
  12. $(EXTRA_CONFIG)
  13. override_dh_auto_install:
  14. dh_auto_install
  15. # remove unwanted files
  16. rm $(CURDIR)/debian/libmpg123-static/opt/kxstudio/lib/libmpg123.la
  17. rm $(CURDIR)/debian/libmpg123-static/opt/kxstudio/lib/libout123.la
  18. rm $(CURDIR)/debian/libmpg123-static/opt/kxstudio/lib/libsyn123.la
  19. rm -r $(CURDIR)/debian/libmpg123-static/opt/kxstudio/share/man
  20. override_dh_auto_clean:
  21. dh_auto_clean
  22. rm -f config.log
  23. override_dh_auto_test:
  24. # skip
  25. %:
  26. dh $@