300f9c9c9d
Thanks to the pkgparentdir and pkgname functions, we can rewrite the AUTOTARGETS macro in a way that avoids the need for each package to repeat its name and the directory in which it is present. [Peter: pkgdir->pkgparentdir] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
27 lines
620 B
Makefile
27 lines
620 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 = YES
|
|
GAMIN_INSTALL_STAGING = YES
|
|
|
|
GAMIN_CONF_OPT = --disable-debug
|
|
|
|
# python support broken
|
|
GAMIN_CONF_OPT += --without-python
|
|
|
|
GAMIN_CONF_ENV = have_abstract_sockets=no
|
|
|
|
ifneq ($(BR2_LARGEFILE),y)
|
|
GAMIN_CONF_ENV += CC="$(TARGET_CC) $(TARGET_CFLAGS) -DNO_LARGEFILE_SOURCE"
|
|
endif
|
|
|
|
GAMIN_DEPENDENCIES = libglib2
|
|
|
|
$(eval $(call AUTOTARGETS))
|
|
|