kumquat-buildroot/package/gamin/gamin.mk
Peter Korsgaard a1deb18ba6 gamin: fix build with !BR2_LARGEFILE and python enabled
Python binding support is broken for cross compilation, disable for now.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-11-23 11:42:47 +01:00

32 lines
816 B
Makefile

#############################################################
#
# gamin
#
#############################################################
GAMIN_VERSION = 0.1.10
GAMIN_SOURCE = gamin-$(GAMIN_VERSION).tar.gz
GAMIN_SITE = http://www.gnome.org/~veillard/gamin/sources
GAMIN_AUTORECONF = NO
GAMIN_INSTALL_STAGING = YES
GAMIN_INSTALL_TARGET = YES
GAMIN_CONF_OPT = --program-prefix="" --disable-debug
# python support broken
GAMIN_CONF_OPT += --without-python
GAMIN_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) install
GAMIN_CONF_ENV = have_abstract_sockets=no
ifneq ($(BR2_LARGEFILE),y)
GAMIN_CONF_ENV += CC="$(TARGET_CC) $(TARGET_CFLAGS) -DNO_LARGEFILE_SOURCE"
# the above doesn't work with shared config.cache
GAMIN_USE_CONFIG_CACHE = NO
endif
GAMIN_DEPENDENCIES = libglib2
$(eval $(call AUTOTARGETS,package,gamin))