GARNAME = gamin
GARVERSION = 0.1.7
CATEGORIES = bootstrap
DISTFILES = $(GARNAME)-$(GARVERSION).tar.gz
PATCHFILES = python-path-fixes.diff gamin-dont-close-fd-351633.patch

MASTER_SITES = http://www.gnome.org/~veillard/gamin/sources/

LIBDEPS = platform/glib

# pre-configure hack requires automake-1.9
LIBDEPS += $(shell if test ! "`automake --version | grep 1.9`"; \
             then echo "bootstrap/automake-1.9";fi)

DESCRIPTION = gamin
define BLURB
 #FIXME: blurb goes here
endef

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

CONFIGURE_ARGS = $(DIRPATHS) --with-python # --disable-dnotify --disable-inotify

include ../category.mk

pre-configure:
	@ cp $(FILEDIR)/autogen.sh $(WORKSRC)
	@cd $(WORKSRC) && ACLOCAL_FLAGS="$(ACLOCAL_FLAGS)" ./autogen.sh
	@$(MAKECOOKIE)
