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>
25 lines
838 B
Makefile
25 lines
838 B
Makefile
#############################################################
|
|
#
|
|
# MatchBox Desktop
|
|
#
|
|
#############################################################
|
|
|
|
MATCHBOX_DESKTOP_VERSION = 0.9.1
|
|
MATCHBOX_DESKTOP_SOURCE = matchbox-desktop-$(MATCHBOX_DESKTOP_VERSION).tar.bz2
|
|
MATCHBOX_DESKTOP_SITE = http://matchbox-project.org/sources/matchbox-desktop/$(MATCHBOX_DESKTOP_VERSION)
|
|
MATCHBOX_DESKTOP_DEPENDENCIES = matchbox-lib
|
|
MATCHBOX_DESKTOP_CONF_OPT = --enable-expat
|
|
|
|
#############################################################
|
|
|
|
ifeq ($(BR2_PACKAGE_STARTUP_NOTIFICATION),y)
|
|
MATCHBOX_DESKTOP_CONF_OPT+=--enable-startup-notification
|
|
MATCHBOX_DESKTOP_DEPENDENCIES+=startup-notification
|
|
else
|
|
MATCHBOX_DESKTOP_CONF_OPT+=--disable-startup-notification
|
|
endif
|
|
|
|
#############################################################
|
|
|
|
$(eval $(call AUTOTARGETS))
|