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>
24 lines
635 B
Makefile
24 lines
635 B
Makefile
#############################################################
|
|
#
|
|
# blackbox
|
|
#
|
|
#############################################################
|
|
|
|
BLACKBOX_VERSION:=0.70.1
|
|
BLACKBOX_SOURCE:=blackbox-$(BLACKBOX_VERSION).tar.bz2
|
|
BLACKBOX_SITE:=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/blackboxwm/
|
|
BLACKBOX_AUTORECONF:=NO
|
|
BLACKBOX_INSTALL_STAGING:=NO
|
|
BLACKBOX_INSTALL_TARGET:=YES
|
|
|
|
BLACKBOX_CONF_OPT:=--x-includes=$(STAGING_DIR)/usr/include/X11 \
|
|
--x-libraries=$(STAGING_DIR)/usr/lib
|
|
|
|
BLACKBOX_DEPENDENCIES = xlib_libX11
|
|
|
|
ifneq ($(BR2_ENABLE_LOCALE),y)
|
|
BLACKBOX_DEPENDENCIES += libiconv
|
|
endif
|
|
|
|
$(eval $(call AUTOTARGETS))
|