debian swirl logo

Back to the packages list gdesklets

#!/usr/bin/make -f

GNOME_DOWNLOAD_URL = http://gdesklets.zencomputer.ca/gDesklets/gdesklets-$(DEB_UPSTREAM_VERSION).tar.bz2
TARBALL_EXT := tar.bz2

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/rules/simple-patchsys.mk
include /usr/share/cdbs/1/class/gnome.mk
include /usr/share/gnome-pkg-tools/1/rules/gnome-get-source.mk

common-post-build-arch::
	cd utils && make clean && make CFLAGS+= -O1

binary-post-install/gdesklets::
		dh_pysupport -pgdesklets
		install -m 755 debian/pack_sensor.py debian/gdesklets/usr/share/gdesklets/
		ln -sf ../lib/gdesklets/gdesklets debian/gdesklets/usr/bin/gdesklets
		find debian/gdesklets -name \*.la -delete

Builds:

gdesklets
architecture for desktop applets