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.

31 lines
682B

  1. #!/usr/bin/make -f
  2. KXSTUDIO_NO_FASTMATH = y
  3. include /usr/share/dpkg/kxstudio.mk
  4. ifeq ($(DEB_HOST_ARCH),amd64)
  5. EXTRA_CONFIG=--enable-sse
  6. else
  7. EXTRA_CONFIG=--disable-sse
  8. endif
  9. override_dh_auto_configure:
  10. ./configure --disable-maintainer-mode \
  11. --prefix=/opt/kxstudio/ \
  12. --enable-static \
  13. --disable-shared \
  14. --disable-doxygen-docs \
  15. --disable-thorough-tests \
  16. --disable-xmms-plugin \
  17. $(EXTRA_CONFIG)
  18. override_dh_auto_install:
  19. dh_auto_install
  20. # remove unwanted files
  21. rm $(CURDIR)/debian/tmp/opt/kxstudio/lib/libFLAC.la
  22. rm $(CURDIR)/debian/tmp/opt/kxstudio/lib/libFLAC++.la
  23. rm -r $(CURDIR)/debian/tmp/opt/kxstudio/share/doc
  24. %:
  25. dh $@