GARNAME = system-tools-backends
GARVERSION = 2.4.1
CATEGORIES = desktop
DISTFILES = $(GARNAME)-$(GARVERSION).tar.bz2
PATCHFILES = configure-netdbusdir.patch

LIBDEPS = platform/gtk+ platform/gnome-vfs platform/libgnome freedesktop/dbus

DESCRIPTION = system-tools-backends
define BLURB
 #FIXME: blurb goes here
endef

CONFIGURE_SCRIPTS = $(WORKSRC)/configure
BUILD_SCRIPTS = $(WORKSRC)/Makefile
INSTALL_SCRIPTS = $(WORKSRC)/Makefile

CONFIGURE_ARGS = $(DIRPATHS)

# use Net::Dbus installed within the GARNOME install-tree or 
# force s-t-b to build and use an internal version
CONFIGURE_ARGS += --with-net-dbus=$(libdir)/perl5/site_perl

include ../category.mk

# build of Net::DBUS does not like ccache  (needed for >= 1.9.x)
CC := $(shell echo $(CC) | sed -e 's/ccache //g')
CXX := $(shell echo $(CXX) | sed -e 's/ccache //g')
