debian swirl logo

Back to the packages list ebview

#!/usr/bin/make -f

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/cdbs/1/rules/patchsys-quilt.mk

# Add here any variable or target overrides you need.

DEB_CONFIGURE_EXTRA_FLAGS := --sysconfdir=/etc
DEB_MAKE_INSTALL_TARGET := install prefix=$(CURDIR)/debian/ebview/usr

build/ebview::
		$(CC) $(CFLAGS) -o $(CURDIR)/src/ebview-client $(CURDIR)/src/ebview-client.c

install/ebview::
		install -m 755 $(CURDIR)/src/ebview-client $(CURDIR)/debian/ebview/usr/bin	
		install -m 644 $(CURDIR)/pixmaps/ebview-32x32.xpm $(CURDIR)/debian/ebview/usr/share/pixmaps/ebview.xpm
		install -m 644 $(CURDIR)/debian/ebview.desktop $(CURDIR)/debian/ebview/usr/share/applications

clean::
		rm -f $(CURDIR)/src/ebview-client

Builds:

ebview
epwing dictionary viewer