1################################################################################ 2# 3# xorcurses 4# 5################################################################################ 6 7XORCURSES_VERSION = 04b664826c5bd30dd483f6a5c8c189ef97e255da 8XORCURSES_SITE = $(call github,jwm-art-net,XorCurses,$(XORCURSES_VERSION)) 9XORCURSES_DEPENDENCIES = ncurses 10XORCURSES_LICENSE = GPL-3.0 11XORCURSES_LICENSE_FILES = README 12 13define XORCURSES_BUILD_CMDS 14 $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) \ 15 CFLAGS="$(TARGET_CFLAGS) -std=gnu99 \ 16 -DDATADIR='\"/usr/share/xorcurses\"' \ 17 -DVERSION='\"$(XORCURSES_VERSION)\"'" 18endef 19 20define XORCURSES_INSTALL_TARGET_CMDS 21 $(INSTALL) -D -m 0755 $(@D)/xorcurses $(TARGET_DIR)/usr/bin/xorcurses 22 mkdir -p $(TARGET_DIR)/usr/share/xorcurses/maps 23 $(INSTALL) -D -m 0644 $(@D)/maps/*.xcm \ 24 $(TARGET_DIR)/usr/share/xorcurses/maps/ 25endef 26 27$(eval $(generic-package)) 28