#!/usr/bin/make -f

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

libwmf_pkg := libwmf0.2-7

DEB_CONFIGURE_EXTRA_FLAGS += --with-docdir=/usr/share/doc/$(libwmf_pkg) \
	     --with-fontdir=/var/lib/defoma/$(libwmf_pkg).d \
	     --with-gsfontdir=/var/lib/defoma/$(libwmf_pkg).d \
	     --with-sysfontmap=/var/lib/defoma/$(libwmf_pkg).d/fontmap \
	     --with-gsfontmap=/var/lib/defoma/$(libwmf_pkg).d/fontmap.gs \
	     --with-xtrafontmap=/etc/libwmf.fontmap

DEB_DH_MAKESHLIBS_ARGS_$(libwmf_pkg) += -X "/usr/lib/gdk-pixbuf-2.0" -V "$(libwmf_pkg) (>= 0.2.8.4)"

