#!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/autotools.mk

IS_FREMANTLE=$(shell if grep Fremantle /etc/maemo_version &> /dev/null; then echo y; else echo n; fi)

DEB_TAR_SRCDIR:=libdicto-1.0.14.2
DEB_DESTDIR=$(CURDIR)/debian/tmp
DEB_CONFIGURE_EXTRA_FLAGS:=--disable-static --enable-debug --enable-maemo=auto --disable-gtk-doc
ifeq ($(IS_FREMANTLE),y)
DEB_CONFIGURE_EXTRA_FLAGS+= --enable-gio
endif

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