Root/gnuchess/Makefile

1# Copyright (C) 2008 OpenWrt.org
2#
3# This is free software, licensed under the GNU General Public License v2.
4#
5
6include $(TOPDIR)/rules.mk
7
8PKG_NAME:=gnuchess
9PKG_VERSION:=5.07
10PKG_RELEASE:=3
11
12PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
13PKG_SOURCE_URL:=http://ftp.gnu.org/pub/gnu/chess
14PKG_CAT:=zcat
15
16
17include $(INCLUDE_DIR)/package.mk
18
19define Package/gnuchess
20  TITLE:=Chess GNU from FSF
21  SECTION:=games
22  CATEGORY:=Games
23  URL:=http://www.gnu.org/software/chess/chess.html
24endef
25PKG_BUILD_DIR:=$(BUILD_DIR)/gnuchess-$(PKG_VERSION)
26
27define Package/gnuchess/description
28  GNU Chess lets most modern computers play a full game of chess. It has a plain terminal interface but supports visual interfaces such as xboard and eboard
29endef
30 
31define Build/Configure
32      $(call Build/Configure/Default)
33
34endef
35define Package/gnuchess/install
36    $(INSTALL_DIR) $(1)/usr/bin
37    $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/gnuchess $(1)/usr/bin/
38endef
39
40$(eval $(call BuildPackage,gnuchess))
41

Archive Download this file



interactive