[Mod] First commit

This commit is contained in:
2022-10-31 22:18:58 +08:00
commit 1c8a3d9709
13090 changed files with 526733 additions and 0 deletions

View File

@ -0,0 +1,7 @@
config BR2_PACKAGE_ASCII_INVADERS
bool "ascii_invaders"
select BR2_PACKAGE_NCURSES
help
An ASCII-art game like Space Invaders using ncurses.
https://github.com/macdice/ascii-invaders

View File

@ -0,0 +1,5 @@
# Locally calculated
sha512 326708ffc2c277e04575920c58f6a267e0bf46f8d2a3dbca9b5c317fb01006d4f673ab35f92f292549cc52dbee4400a84c85478eb81b9bd7703689a705547bc7 ascii-invaders-1.0.1.tar.gz
# Hash for license file
sha512 1e455684996d7733b2f1ccd4606d034694d16ceff6ede6125d7f1537d20dabe05976cca4cef5cbf6c31352cbd62a515fd8e34a2ffb54dae1181c1116b24c6cf7 LICENSE

View File

@ -0,0 +1,27 @@
################################################################################
#
# ASCII-Invaders
#
################################################################################
ASCII_INVADERS_VERSION = 1.0.1
ASCII_INVADERS_SITE = $(call github,macdice,ascii-invaders,v$(ASCII_INVADERS_VERSION))
ASCII_INVADERS_DEPENDENCIES = ncurses
ASCII_INVADERS_LICENSE = GPL-2.0+
ASCII_INVADERS_LICENSE_FILES = LICENSE
# For compiling statically, libraries must be specified after the object file
define ASCII_INVADERS_POST_EXTRACT_FIXUP
sed -i 's/\$$(LIBS) invaders.o/invaders.o \$$(LIBS)/' $(@D)/Makefile
endef
ASCII_INVADERS_POST_EXTRACT_HOOKS += ASCII_INVADERS_POST_EXTRACT_FIXUP
define ASCII_INVADERS_BUILD_CMDS
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D)
endef
define ASCII_INVADERS_INSTALL_TARGET_CMDS
$(INSTALL) -D -m 0755 $(@D)/ascii_invaders $(TARGET_DIR)/usr/bin/ascii_invaders
endef
$(eval $(generic-package))