Root/brainless/Makefile

1#
2# Copyright (C) 2011 David Kuehling <dvdkhlng TA gmx TOD de>
3#
4# License GPLv2 or later. NO WARRANTY.
5#
6# OpenWRT package for Brainless chess playing program
7
8include $(TOPDIR)/rules.mk
9
10PKG_NAME:=brainless
11PKG_VERSION:=0.1.2
12PKG_RELEASE:=2
13PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
14PKG_SOURCE_URL:=@SF/forth-brainless
15PKG_MD5SUM:=ed4a4cbbe23628b17edc5aa01f32f7fb
16PKG_INSTALL:=1
17
18include $(INCLUDE_DIR)/package.mk
19
20define Package/brainless/Default
21  SECTION:=games
22  CATEGORY:=Games
23  TITLE:=Brainless (a chess playing program)
24  URL:=https://sourceforge.net/projects/forth-brainless/
25  DEPENDS:=+gforth
26endef
27
28define Package/brainless/Default/description
29Brainless is a chess-playing program written in ANS Forth. It uses the
30Forth terminal for interacting with the user, making use of ANSI color
31terminals and Utf-8 chess-piece glyphs for quasi-graphical display.
32endef
33
34define Package/brainless
35$(call Package/brainless/Default)
36endef
37
38define Package/brainless/description
39$(call Package/brainless/Default/description)
40endef
41
42
43# searches for fusion* headers that are not present. different version?
44CONFIGURE_ARGS += \
45    --with-gforth=/usr/bin/gforth-fast
46
47define Build/Configure
48    $(call Build/Configure/Default)
49endef
50
51define Build/Compile
52endef
53
54define Package/brainless/install
55    $(INSTALL_DIR) $(1)/usr
56    $(CP) $(PKG_INSTALL_DIR)/usr/* $(1)/usr/
57    $(INSTALL_BIN) ./files/brainless-jfbterm $(1)/usr/bin/
58endef
59
60$(eval $(call BuildPackage,brainless))
61
62# The following comments configure the Emacs editor. Just ignore them.
63# Local Variables:
64# compile-command: "make -C ~/h/src/qi/openwrt-xburst package/brainless/compile -j2 V=99"
65# End:
66

Archive Download this file



interactive