summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Pipping <sebastian@pipping.org>2014-09-07 21:14:29 +0200
committerSebastian Pipping <sebastian@pipping.org>2014-09-07 21:16:45 +0200
commitb039d90458a48d5fe43654b3806678ad7f3e7ac6 (patch)
treee68cf7b9806c9ce5751e1b453c98e27ae6c0b416 /games-board
parentgames-board/acnchess: 0_p20140917 (diff)
downloadbetagarden-b039d90458a48d5fe43654b3806678ad7f3e7ac6.tar.gz
betagarden-b039d90458a48d5fe43654b3806678ad7f3e7ac6.tar.bz2
betagarden-b039d90458a48d5fe43654b3806678ad7f3e7ac6.zip
games-board/hoichess: 0.12.1
Diffstat (limited to 'games-board')
-rw-r--r--games-board/hoichess/Manifest1
-rw-r--r--games-board/hoichess/hoichess-0.12.1.ebuild35
-rw-r--r--games-board/hoichess/metadata.xml8
3 files changed, 44 insertions, 0 deletions
diff --git a/games-board/hoichess/Manifest b/games-board/hoichess/Manifest
new file mode 100644
index 0000000..003d889
--- /dev/null
+++ b/games-board/hoichess/Manifest
@@ -0,0 +1 @@
+DIST hoichess-0.12.1-src.tar.gz 145321 SHA256 bbef42a275afde9be76bbb6c2bb3743ea5a8bba2b5fe6231187ea25c2e294291 SHA512 70a30ca2d25718564a2a5eac71fa2b6dc09c05445beae55d7c4617f931d7de985a975f382f0872a6962ee7bfa7c4a572ac2836bebf57fde3f0a050198b0a3c93 WHIRLPOOL ee0f0a303f1beb57a7959f281f307ba87694ce54e95fa1ca9bd6a2d1bc20908cb60cf5ddb0d8b13676106aee02f24493f0b5f33e5ffdc9c8df7b4782df4cc884
diff --git a/games-board/hoichess/hoichess-0.12.1.ebuild b/games-board/hoichess/hoichess-0.12.1.ebuild
new file mode 100644
index 0000000..85f1bbd
--- /dev/null
+++ b/games-board/hoichess/hoichess-0.12.1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="5"
+
+DESCRIPTION="Chess and Xiangqi engines"
+HOMEPAGE="http://www.hoicher.de/hoichess/download/"
+SRC_URI="http://www.hoicher.de/${PN}/download/${P}-src.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="dev-lang/perl"
+RDEPEND=""
+
+S="${WORKDIR}"/${P}-src
+
+src_prepare() {
+ cat <<-MAKEFILE_CONFIG > src/Makefile.config
+ CXXFLAGS += ${CXXFLAGS}
+
+ HAVE_READLINE = 1
+ HAVE_PTHREAD = 1
+ MAKEFILE_CONFIG
+}
+
+src_install() {
+ default
+
+ dodir /usr/games/bin
+ mv "${D}"/usr/games/{hoichess,hoixiangqi} "${D}"/usr/games/bin || die
+}
diff --git a/games-board/hoichess/metadata.xml b/games-board/hoichess/metadata.xml
new file mode 100644
index 0000000..16bcc9f
--- /dev/null
+++ b/games-board/hoichess/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>sping@gentoo.org</email>
+ <name>Sebastian Pipping</name>
+ </maintainer>
+</pkgmetadata>