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
24  DEPENDS:=+libncurses +libpthread +libreadline
25endef
26PKG_BUILD_DIR:=$(BUILD_DIR)/gnuchess-$(PKG_VERSION)
27
28define Package/gnuchess/description
29  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
30endef
31 
32define Build/Configure
33      $(call Build/Configure/Default)
34
35endef
36define Package/gnuchess/install
37    $(INSTALL_DIR) $(1)/usr/bin
38    $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/gnuchess $(1)/usr/bin/
39endef
40
41$(eval $(call BuildPackage,gnuchess))
42

Archive Download this file



interactive