OpenWrt packages
Sign in or create your account | Project List | Help
OpenWrt packages Git Source Tree
Root/
| 1 | # Copyright (C) 2008 OpenWrt.org |
| 2 | # |
| 3 | # This is free software, licensed under the GNU General Public License v2. |
| 4 | # |
| 5 | |
| 6 | include $(TOPDIR)/rules.mk |
| 7 | |
| 8 | PKG_NAME:=gnuchess |
| 9 | PKG_VERSION:=5.07 |
| 10 | PKG_RELEASE:=3 |
| 11 | |
| 12 | PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz |
| 13 | PKG_SOURCE_URL:=http://ftp.gnu.org/pub/gnu/chess |
| 14 | PKG_CAT:=zcat |
| 15 | |
| 16 | |
| 17 | include $(INCLUDE_DIR)/package.mk |
| 18 | |
| 19 | define 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 |
| 25 | endef |
| 26 | PKG_BUILD_DIR:=$(BUILD_DIR)/gnuchess-$(PKG_VERSION) |
| 27 | |
| 28 | define 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 |
| 30 | endef |
| 31 | |
| 32 | define Build/Configure |
| 33 | $(call Build/Configure/Default) |
| 34 | |
| 35 | endef |
| 36 | define Package/gnuchess/install |
| 37 | $(INSTALL_DIR) $(1)/usr/bin |
| 38 | $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/gnuchess $(1)/usr/bin/ |
| 39 | endef |
| 40 | |
| 41 | $(eval $(call BuildPackage,gnuchess)) |
| 42 |
