kumquat-buildroot/package/ytree/ytree.mk
Fabrice Fontaine f3ee9c4337 package/ytree: bump to version 2.00
License is GPL-2.0+ not GPL-2.0 as specified in files that contain
license information: tilde.{h,c} and xmalloc.{h,c}

Release 2.00 also added a comment about this in CHANGES and README

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2019-12-08 13:58:32 +01:00

32 lines
883 B
Makefile

################################################################################
#
# ytree
#
################################################################################
YTREE_VERSION = 2.00
YTREE_SITE = https://www.han.de/~werner
YTREE_LICENSE = GPL-2.0+
YTREE_LICENSE_FILES = COPYING
YTREE_DEPENDENCIES = ncurses
YTREE_CFLAGS = -DCOLOR_SUPPORT $(TARGET_CFLAGS)
YTREE_LDFLAGS = -lncurses $(TARGET_LDFLAGS)
ifeq ($(BR2_PACKAGE_READLINE),y)
YTREE_DEPENDENCIES += host-pkgconf readline
YTREE_CFLAGS += -DREADLINE_SUPPORT
YTREE_LDFLAGS += `$(PKG_CONFIG_HOST_BINARY) --libs readline`
endif
define YTREE_BUILD_CMDS
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(YTREE_CFLAGS)" LDFLAGS="$(YTREE_LDFLAGS)"
endef
define YTREE_INSTALL_TARGET_CMDS
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR="$(TARGET_DIR)/usr" install
endef
$(eval $(generic-package))