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
43CONFIGURE_ARGS += \
44    --with-gforth=/usr/bin/gforth-fast
45
46define Build/Configure
47    $(call Build/Configure/Default)
48endef
49
50define Build/Compile
51endef
52
53define Package/brainless/install
54    $(INSTALL_DIR) $(1)/usr
55    $(CP) $(PKG_INSTALL_DIR)/usr/* $(1)/usr/
56    $(INSTALL_BIN) ./files/brainless-jfbterm $(1)/usr/bin/
57endef
58
59$(eval $(call BuildPackage,brainless))
60
61# The following comments configure the Emacs editor. Just ignore them.
62# Local Variables:
63# compile-command: "make -C ~/h/src/qi/openwrt-xburst package/brainless/compile -j2 V=99"
64# End:
65

Archive Download this file



interactive