mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
bump version to 2022.02.9
add miyoo_defconfig
This commit is contained in:
10
package/frotz/Config.in
Normal file
10
package/frotz/Config.in
Normal file
@@ -0,0 +1,10 @@
|
||||
config BR2_PACKAGE_FROTZ
|
||||
bool "frotz"
|
||||
select BR2_PACKAGE_NCURSES
|
||||
help
|
||||
Frotz is an interpreter for old Infocom adventure games and
|
||||
other Z-code games. Note that frotz cannot be run as root.
|
||||
You must add a normal user to your buildroot configuration to
|
||||
be able to use it.
|
||||
|
||||
https://661.org/proj/if/frotz/
|
||||
3
package/frotz/frotz.hash
Normal file
3
package/frotz/frotz.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 8da558828dd74d6d6ee30483bb32276ef918b8b72b7f6e89b4f7cb27e7abf58b frotz-2.53.tar.bz2
|
||||
sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING
|
||||
31
package/frotz/frotz.mk
Normal file
31
package/frotz/frotz.mk
Normal file
@@ -0,0 +1,31 @@
|
||||
################################################################################
|
||||
#
|
||||
# Frotz
|
||||
#
|
||||
################################################################################
|
||||
|
||||
FROTZ_VERSION = 2.53
|
||||
FROTZ_SOURCE = frotz-$(FROTZ_VERSION).tar.bz2
|
||||
FROTZ_SITE = $(call gitlab,DavidGriffith,frotz,$(FROTZ_VERSION))
|
||||
FROTZ_DEPENDENCIES = host-pkgconf ncurses
|
||||
FROTZ_LICENSE = GPL-2.0+
|
||||
FROTZ_LICENSE_FILES = COPYING
|
||||
|
||||
ifeq ($(BR2_PACKAGE_NCURSES_WCHAR),y)
|
||||
FROTZ_CURSES=ncursesw
|
||||
FROTZ_UTF8=yes
|
||||
else
|
||||
FROTZ_CURSES=ncurses
|
||||
endif
|
||||
|
||||
define FROTZ_BUILD_CMDS
|
||||
$(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) PREFIX=/usr CONFIG_DIR=/etc \
|
||||
SOUND_TYPE=none CURSES="$(FROTZ_CURSES)" USE_UTF8=$(FROTZ_UTF8) \
|
||||
CFLAGS="$(TARGET_CFLAGS) -std=c99"
|
||||
endef
|
||||
|
||||
define FROTZ_INSTALL_TARGET_CMDS
|
||||
$(INSTALL) -D -m 0755 $(@D)/frotz $(TARGET_DIR)/usr/bin/frotz
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
Reference in New Issue
Block a user