summaryrefslogtreecommitdiffstats
path: root/package/gamin/gamin.mk
blob: 1aa5f8be0c1ffc8e0ce548f2470e88a438543b70 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#############################################################
#
# 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))