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.

30 lines
662B

  1. #!/usr/bin/make -f
  2. KXSTUDIO_EXPLICIT_PATH_INCLUDE = y
  3. KXSTUDIO_NO_FASTMATH = y
  4. include /usr/share/dpkg/kxstudio.mk
  5. LDFLAGS += -lz
  6. override_dh_auto_configure:
  7. ./configure --disable-maintainer-mode \
  8. --prefix=/opt/kxstudio \
  9. --enable-static \
  10. --disable-shared
  11. ln -s /opt/kxstudio/include/zconf.h .
  12. ln -s /opt/kxstudio/include/zlib.h .
  13. override_dh_auto_clean:
  14. dh_auto_clean
  15. rm -f zconf.h zlib.h
  16. override_dh_auto_install:
  17. dh_auto_install
  18. # remove unwanted
  19. rm $(CURDIR)/debian/libpng-static/opt/kxstudio/lib/*.la
  20. rm -r $(CURDIR)/debian/libpng-static/opt/kxstudio/bin
  21. rm -r $(CURDIR)/debian/libpng-static/opt/kxstudio/share
  22. %:
  23. dh $@