diff --git a/brainless/Makefile b/brainless/Makefile new file mode 100644 index 0000000..ca58fb3 --- /dev/null +++ b/brainless/Makefile @@ -0,0 +1,64 @@ +# +# Copyright (C) 2011 David Kuehling +# +# License GPLv2 or later. NO WARRANTY. +# +# OpenWRT package for Brainless chess playing program + +include $(TOPDIR)/rules.mk + +PKG_NAME:=brainless +PKG_VERSION:=0.1.1 +PKG_RELEASE:=1 +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=@SF/forth-brainless +PKG_MD5SUM:=38a4ac4d5b984e1b67b0cdd60b484b02 +PKG_INSTALL:=1 + +include $(INCLUDE_DIR)/package.mk + +define Package/brainless/Default + SECTION:=games + CATEGORY:=Games + TITLE:=Brainless (a chess playing program) + URL:=https://sourceforge.net/projects/forth-brainless/ + DEPENDS:=+gforth +endef + +define Package/brainless/Default/description +Brainless is a chess-playing program written in ANS Forth. It uses the +Forth terminal for interacting with the user, making use of ANSI color +terminals and Utf-8 chess-piece glyphs for quasi-graphical display. +endef + +define Package/brainless +$(call Package/brainless/Default) +endef + +define Package/brainless/description +$(call Package/brainless/Default/description) +endef + + +# searches for fusion* headers that are not present. different version? +CONFIGURE_ARGS += \ + --with-gforth=/usr/bin/gforth + +define Build/Configure + $(call Build/Configure/Default) +endef + +define Build/Compile +endef + +define Package/brainless/install + $(INSTALL_DIR) $(1)/usr + $(CP) $(PKG_INSTALL_DIR)/usr/* $(1)/usr/ +endef + +$(eval $(call BuildPackage,brainless)) + +# The following comments configure the Emacs editor. Just ignore them. +# Local Variables: +# compile-command: "make -C ~/h/src/qi/openwrt-xburst package/brainless/compile -j2 V=99" +# End: