1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-06-26 02:44:33 +03:00

brainless: use faster gforth-fast interpreter; upstream fixes

This commit is contained in:
David Kühling 2011-02-13 12:35:10 +01:00
parent 154d831ac6
commit 13c75d14d5
2 changed files with 13 additions and 4 deletions

View File

@ -8,11 +8,11 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=brainless
PKG_VERSION:=0.1.1
PKG_RELEASE:=1
PKG_VERSION:=0.1.2
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@SF/forth-brainless
PKG_MD5SUM:=38a4ac4d5b984e1b67b0cdd60b484b02
PKG_MD5SUM:=ed4a4cbbe23628b17edc5aa01f32f7fb
PKG_INSTALL:=1
include $(INCLUDE_DIR)/package.mk
@ -42,7 +42,7 @@ endef
# searches for fusion* headers that are not present. different version?
CONFIGURE_ARGS += \
--with-gforth=/usr/bin/gforth
--with-gforth=/usr/bin/gforth-fast
define Build/Configure
$(call Build/Configure/Default)
@ -54,6 +54,7 @@ endef
define Package/brainless/install
$(INSTALL_DIR) $(1)/usr
$(CP) $(PKG_INSTALL_DIR)/usr/* $(1)/usr/
$(INSTALL_BIN) ./files/brainless-jfbterm $(1)/usr/bin/
endef
$(eval $(call BuildPackage,brainless))

View 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'