debian swirl logo

Back to the packages list dc-qt

#!/usr/bin/make -f

include /usr/share/cdbs/1/class/langcore.mk
include /usr/share/cdbs/1/rules/simple-patchsys.mk
include /usr/share/cdbs/1/class/qmake.mk
include /usr/share/cdbs/1/rules/debhelper.mk

SCONS = scons

DEB_BUILDDIR = $(CURDIR)/ui

QMAKE = qmake-qt4

DEB_INSTALL_DOCS_ALL = 

common-configure-arch::
		$(SCONS)

clean::
		-$(SCONS) -c
		rm -f .sconsign.dblite

common-install-arch::
		$(SCONS) install PREFIX=$(CURDIR)/debian/dc-qt/usr
		mv $(CURDIR)/debian/dc-qt/usr/bin/backend $(CURDIR)/debian/dc-qt/usr/bin/dc-backend
		mv $(CURDIR)/debian/dc-qt/usr/bin/ui $(CURDIR)/debian/dc-qt/usr/bin/dc-qt
		install -D -m 644 $(CURDIR)/debian/dc-qt.xpm $(CURDIR)/debian/dc-qt/usr/share/pixmaps/dc-qt.xpm
		install -D -m 644 $(CURDIR)/debian/dc-qt.desktop $(CURDIR)/debian/dc-qt/usr/share/applications/dc-qt.desktop

Builds:

dc-qt
gui frontend for the dc protocol