Date:2011-02-13 12:35:10 (13 years 1 month ago)
Author:David Kühling
Commit:13c75d14d523c561ebfac1553d8f24db5aece8bd
Message:brainless: use faster gforth-fast interpreter; upstream fixes

Files: brainless/Makefile (3 diffs)
brainless/files/brainless-jfbterm (1 diff)

Change Details

brainless/Makefile
88include $(TOPDIR)/rules.mk
99
1010PKG_NAME:=brainless
11PKG_VERSION:=0.1.1
12PKG_RELEASE:=1
11PKG_VERSION:=0.1.2
12PKG_RELEASE:=2
1313PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
1414PKG_SOURCE_URL:=@SF/forth-brainless
15PKG_MD5SUM:=38a4ac4d5b984e1b67b0cdd60b484b02
15PKG_MD5SUM:=ed4a4cbbe23628b17edc5aa01f32f7fb
1616PKG_INSTALL:=1
1717
1818include $(INCLUDE_DIR)/package.mk
...... 
4242
4343# searches for fusion* headers that are not present. different version?
4444CONFIGURE_ARGS += \
45    --with-gforth=/usr/bin/gforth
45    --with-gforth=/usr/bin/gforth-fast
4646
4747define Build/Configure
4848    $(call Build/Configure/Default)
...... 
5454define Package/brainless/install
5555    $(INSTALL_DIR) $(1)/usr
5656    $(CP) $(PKG_INSTALL_DIR)/usr/* $(1)/usr/
57    $(INSTALL_BIN) ./files/brainless-jfbterm $(1)/usr/bin/
5758endef
5859
5960$(eval $(call BuildPackage,brainless))
brainless/files/brainless-jfbterm
1#! /bin/sh
2
3# Run Brainless chess playing game in a jfbterm unicode terminal using utf-8
4# chess-piece glyphs and board size adjusted to match the NanoNote's display.
5
6exec jfbterm -e brainless \
7    -e 'true set-option utf8-terminal?' \
8    -e 'small-board'

Archive Download the corresponding diff file



interactive