debian swirl logo

Back to the packages list battery-stats

#!/usr/bin/make -f

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

build/battery-stats::
		mogrify -format xpm -geometry 32x32 $(CURDIR)/pixmaps/battery-stats.png

clean::
		rm -f $(CURDIR)/pixmaps/battery-stats.xpm

install/battery-stats::
		cp pixmaps/battery-stats.xpm $(CURDIR)/debian/battery-stats/usr/share/battery-stats/pixmaps/battery-stats.xpm
		mkdir -p $(CURDIR)/debian/battery-stats/usr/share/applications
		install -m 644 $(CURDIR)/debian/battery-stats.desktop \
			$(CURDIR)/debian/battery-stats/usr/share/applications/battery-stats.desktop

Builds:

battery-stats
collects statistics about charge of laptop batteries