mirror of
git://projects.qi-hardware.com/openwrt-packages.git
synced 2024-11-04 23:21:53 +02:00
brainless: use faster gforth-fast interpreter; upstream fixes
This commit is contained in:
parent
154d831ac6
commit
13c75d14d5
@ -8,11 +8,11 @@
|
|||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=brainless
|
PKG_NAME:=brainless
|
||||||
PKG_VERSION:=0.1.1
|
PKG_VERSION:=0.1.2
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=@SF/forth-brainless
|
PKG_SOURCE_URL:=@SF/forth-brainless
|
||||||
PKG_MD5SUM:=38a4ac4d5b984e1b67b0cdd60b484b02
|
PKG_MD5SUM:=ed4a4cbbe23628b17edc5aa01f32f7fb
|
||||||
PKG_INSTALL:=1
|
PKG_INSTALL:=1
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
@ -42,7 +42,7 @@ endef
|
|||||||
|
|
||||||
# searches for fusion* headers that are not present. different version?
|
# searches for fusion* headers that are not present. different version?
|
||||||
CONFIGURE_ARGS += \
|
CONFIGURE_ARGS += \
|
||||||
--with-gforth=/usr/bin/gforth
|
--with-gforth=/usr/bin/gforth-fast
|
||||||
|
|
||||||
define Build/Configure
|
define Build/Configure
|
||||||
$(call Build/Configure/Default)
|
$(call Build/Configure/Default)
|
||||||
@ -54,6 +54,7 @@ endef
|
|||||||
define Package/brainless/install
|
define Package/brainless/install
|
||||||
$(INSTALL_DIR) $(1)/usr
|
$(INSTALL_DIR) $(1)/usr
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/* $(1)/usr/
|
$(CP) $(PKG_INSTALL_DIR)/usr/* $(1)/usr/
|
||||||
|
$(INSTALL_BIN) ./files/brainless-jfbterm $(1)/usr/bin/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(call BuildPackage,brainless))
|
$(eval $(call BuildPackage,brainless))
|
||||||
|
8
brainless/files/brainless-jfbterm
Executable file
8
brainless/files/brainless-jfbterm
Executable file
@ -0,0 +1,8 @@
|
|||||||
|
#! /bin/sh
|
||||||
|
|
||||||
|
# Run Brainless chess playing game in a jfbterm unicode terminal using utf-8
|
||||||
|
# chess-piece glyphs and board size adjusted to match the NanoNote's display.
|
||||||
|
|
||||||
|
exec jfbterm -e brainless \
|
||||||
|
-e 'true set-option utf8-terminal?' \
|
||||||
|
-e 'small-board'
|
Loading…
Reference in New Issue
Block a user