debian swirl logo

Back to the packages list ooo-thumbnailer

#!/usr/bin/make -f

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

DEB_INSTALL_MANPAGES_ooo-thumbnailer = debian/ooo-thumbnailer.1

binary-install/ooo-thumbnailer::
		dh_gconf

get-orig-source::
		if test -n "$$TMP"; then \
		TMPD= `mktemp -d -p $$TMP`; \
		else \
		TMPD= `mktemp -d`; \
		fi && \
		cd $$TMPD && \
		bzr co lp:~flimm/+junk/bash-ooo-thumbnailer && \
	export UPSTREAM_VERSION= `head -1 $$TMPD/bash-ooo-thumbnailer/debian/changelog | cut -f 2 -d \( | cut -f 1 -d \) | cut -f 1 -d -` && \
		mv bash-ooo-thumbnailer ooo-thumbnailer-$$UPSTREAM_VERSION && \
		rm -rf ooo-thumbnailer-$$UPSTREAM_VERSION/debian ooo-thumbnailer-$$UPSTREAM_VERSION/.bzr* && \
		tar cfvz ooo-thumbnailer_$$UPSTREAM_VERSION.orig.tar.gz ooo-thumbnailer-$$UPSTREAM_VERSION && \
		rm -rf ooo-thumbnailer-$$UPSTREAM_VERSION && \
		mv ooo-thumbnailer_$$UPSTREAM_VERSION.orig.tar.gz $(CURDIR)/.. && \
		rmdir $$TMPD

# Add here any variable or target overrides you need.

Builds:

ooo-thumbnailer
thumbnailer for openoffice.org documents