diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /games-board/phalanx | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'games-board/phalanx')
-rw-r--r-- | games-board/phalanx/Manifest | 1 | ||||
-rw-r--r-- | games-board/phalanx/metadata.xml | 13 | ||||
-rw-r--r-- | games-board/phalanx/phalanx-22.ebuild | 43 |
3 files changed, 57 insertions, 0 deletions
diff --git a/games-board/phalanx/Manifest b/games-board/phalanx/Manifest new file mode 100644 index 000000000000..b6752f197b53 --- /dev/null +++ b/games-board/phalanx/Manifest @@ -0,0 +1 @@ +DIST Phalanx-XXII.tar.gz 356831 SHA256 1ec5e8e5f71e199963796462086a6e9a0d8856b7fd4b83324a30a35c25677082 SHA512 e959556bb29eb2178dbf77c656d6c6520a8568e93e03350c5141bee8808a04d0a0c1050a3db53b1fef4a7b6e6b724272700e52feb6c5d7f8308cebca91c51d67 WHIRLPOOL e634d7631831e2043586f3bffca1ca7ffd55084b6e95a655a64297aa53e88c280c54bfe5123e7008e00ceb979ac7573a2dbd7e9a5d12b4d68277f5ca72f3c7f4 diff --git a/games-board/phalanx/metadata.xml b/games-board/phalanx/metadata.xml new file mode 100644 index 000000000000..59fa5463a179 --- /dev/null +++ b/games-board/phalanx/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>games</herd> + <longdescription lang="en"> +This is the Phalanx chess engine. Phalanx's playing style is quite human-like; +when it plays at full strength, it may be compared to a intermediate-to-strong +player; beginners will be right at home with it, too. +</longdescription> + <upstream> + <remote-id type="sourceforge">phalanx</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-board/phalanx/phalanx-22.ebuild b/games-board/phalanx/phalanx-22.ebuild new file mode 100644 index 000000000000..4783fb4b3ac6 --- /dev/null +++ b/games-board/phalanx/phalanx-22.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit toolchain-funcs games + +MY_PN="Phalanx" +MY_PV="XXII" +MY_P=${MY_PN}-${MY_PV} + +DESCRIPTION="A chess engine suitable for beginner and intermediate players" +HOMEPAGE="http://phalanx.sourceforge.net/" +SRC_URI="mirror://sourceforge/phalanx/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +S=${WORKDIR}/${MY_P} + +src_compile() { + # configure is not used in the project; confs are in Makefile, + # and here we override them: + local define="-DGNUFUN" myvar + for myvar in "PBOOK" "SBOOK" "LEARN" ; do + define="${define} -D${myvar}_DIR=\"\\\"${GAMES_DATADIR}/${PN}\\\"\"" + done + emake \ + DEFINES="${define}" \ + CC="$(tc-getCC)" \ + CFLAGS="${CFLAGS}" \ + LDFLAGS="${LDFLAGS}" +} + +src_install() { + dogamesbin phalanx + insinto "${GAMES_DATADIR}"/${PN} + doins pbook.phalanx sbook.phalanx learn.phalanx + dodoc HISTORY README + prepgamesdirs +} |