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>
23 lines
638 B
Makefile
23 lines
638 B
Makefile
#############################################################
|
|
#
|
|
# libgail
|
|
#
|
|
#############################################################
|
|
LIBGAIL_VERSION_MAJOR = 1.22
|
|
LIBGAIL_VERSION_MINOR = 3
|
|
LIBGAIL_VERSION = $(LIBGAIL_VERSION_MAJOR).$(LIBGAIL_VERSION_MINOR)
|
|
LIBGAIL_SOURCE = gail-$(LIBGAIL_VERSION).tar.bz2
|
|
LIBGAIL_SITE = http://ftp.gnome.org/pub/gnome/sources/gail/$(LIBGAIL_VERSION_MAJOR)
|
|
|
|
LIBGAIL_AUTORECONF = YES
|
|
LIBGAIL_INSTALL_STAGING = YES
|
|
LIBGAIL_INSTALL_TARGET = YES
|
|
|
|
ifneq ($(BR2_PACKAGE_XLIB_LIBX11),y)
|
|
LIBGAIL_CONF_OPT += --disable-x
|
|
endif
|
|
|
|
LIBGAIL_DEPENDENCIES = host-pkg-config libgtk2 pango
|
|
|
|
$(eval $(call AUTOTARGETS))
|