generated from gaoyang3513/SDK_RK3288
[Mod] First commit
This commit is contained in:
11
package/xorcurses/Config.in
Normal file
11
package/xorcurses/Config.in
Normal file
@ -0,0 +1,11 @@
|
||||
config BR2_PACKAGE_XORCURSES
|
||||
bool "xorcurses"
|
||||
select BR2_PACKAGE_NCURSES
|
||||
help
|
||||
XorCurses is a game remake of the 8-bit game 'Xor'. Your task
|
||||
is to roam around a series of mazes where you have to collect
|
||||
all blue masks before finding the exit. Note that the game
|
||||
needs a terminal with colors, i.e. make sure that the TERM
|
||||
environment variable is set to "linux" ("vt100" won't work).
|
||||
|
||||
https://github.com/jwm-art-net/XorCurses/
|
||||
3
package/xorcurses/xorcurses.hash
Normal file
3
package/xorcurses/xorcurses.hash
Normal file
@ -0,0 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 6c60a41b9a74ecd5f6ded337b9982e81eaf7b31a654a4a32b219e3a2ff638ae3 xorcurses-04b664826c5bd30dd483f6a5c8c189ef97e255da.tar.gz
|
||||
sha256 8632a67e5a76be4cdf7fd0fc6509e21bd6c647183bd9d2325310d5098c652a3a README
|
||||
27
package/xorcurses/xorcurses.mk
Normal file
27
package/xorcurses/xorcurses.mk
Normal file
@ -0,0 +1,27 @@
|
||||
################################################################################
|
||||
#
|
||||
# xorcurses
|
||||
#
|
||||
################################################################################
|
||||
|
||||
XORCURSES_VERSION = 04b664826c5bd30dd483f6a5c8c189ef97e255da
|
||||
XORCURSES_SITE = $(call github,jwm-art-net,XorCurses,$(XORCURSES_VERSION))
|
||||
XORCURSES_DEPENDENCIES = ncurses
|
||||
XORCURSES_LICENSE = GPL-3.0
|
||||
XORCURSES_LICENSE_FILES = README
|
||||
|
||||
define XORCURSES_BUILD_CMDS
|
||||
$(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) \
|
||||
CFLAGS="$(TARGET_CFLAGS) -std=gnu99 \
|
||||
-DDATADIR='\"/usr/share/xorcurses\"' \
|
||||
-DVERSION='\"$(XORCURSES_VERSION)\"'"
|
||||
endef
|
||||
|
||||
define XORCURSES_INSTALL_TARGET_CMDS
|
||||
$(INSTALL) -D -m 0755 $(@D)/xorcurses $(TARGET_DIR)/usr/bin/xorcurses
|
||||
mkdir -p $(TARGET_DIR)/usr/share/xorcurses/maps
|
||||
$(INSTALL) -D -m 0644 $(@D)/maps/*.xcm \
|
||||
$(TARGET_DIR)/usr/share/xorcurses/maps/
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
Reference in New Issue
Block a user