diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2007-02-07 23:11:03 +0000 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2007-02-07 23:11:03 +0000 |
commit | 920b73f50d480003ede8b2ca650234544f129975 (patch) | |
tree | 5f2e7eb2890613cd678425b62494b443838c9a2b /games-board/fruit | |
parent | Made ffmpeg dependency unconditional, thanks Simon Stelling (bug #165836). (diff) | |
download | historical-920b73f50d480003ede8b2ca650234544f129975.tar.gz historical-920b73f50d480003ede8b2ca650234544f129975.tar.bz2 historical-920b73f50d480003ede8b2ca650234544f129975.zip |
New ebuild. Bug #108154
Package-Manager: portage-2.1.1-r2
Diffstat (limited to 'games-board/fruit')
-rw-r--r-- | games-board/fruit/ChangeLog | 10 | ||||
-rw-r--r-- | games-board/fruit/Manifest | 30 | ||||
-rw-r--r-- | games-board/fruit/files/digest-fruit-2.1 | 3 | ||||
-rw-r--r-- | games-board/fruit/files/fruit-2.1-gentoo.patch | 11 | ||||
-rw-r--r-- | games-board/fruit/fruit-2.1.ebuild | 47 | ||||
-rw-r--r-- | games-board/fruit/metadata.xml | 8 |
6 files changed, 109 insertions, 0 deletions
diff --git a/games-board/fruit/ChangeLog b/games-board/fruit/ChangeLog new file mode 100644 index 000000000000..8e38b949a705 --- /dev/null +++ b/games-board/fruit/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for games-board/fruit +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-board/fruit/ChangeLog,v 1.1 2007/02/07 23:11:03 tupone Exp $ + +*fruit-2.1 (07 Feb 2007) + + 07 Feb 2007; <tupone@gentoo.org> +files/fruit-2.1-gentoo.patch, + +metadata.xml, +fruit-2.1.ebuild: + New ebuild. Bug #108154 by Kamil Rytarowski + diff --git a/games-board/fruit/Manifest b/games-board/fruit/Manifest new file mode 100644 index 000000000000..22a2ca11c80d --- /dev/null +++ b/games-board/fruit/Manifest @@ -0,0 +1,30 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX fruit-2.1-gentoo.patch 586 RMD160 b2419c46cff6885d754f0b0223c3f3c97e65179f SHA1 9ba27f15b7983a34500b951fdbf66443d91f2c59 SHA256 a6c5fbdaac9d5654f222480d0c3fbba2d52b18690b879290e5df0ee4dd59af1a +MD5 324ed5819b099450dbe841b5e03a97b9 files/fruit-2.1-gentoo.patch 586 +RMD160 b2419c46cff6885d754f0b0223c3f3c97e65179f files/fruit-2.1-gentoo.patch 586 +SHA256 a6c5fbdaac9d5654f222480d0c3fbba2d52b18690b879290e5df0ee4dd59af1a files/fruit-2.1-gentoo.patch 586 +DIST fruit_21_linux.zip 716762 RMD160 05fb30041ee85540769c1d0ed6a439caac0d8698 SHA1 7bb23a7871ab3d6e152631dab86051dbba615c57 SHA256 ad13f6099dc2acebf0112c36cc7d38fd4009316ad60ecc294c5e828380dcd2c0 +EBUILD fruit-2.1.ebuild 1143 RMD160 a28d25cf36425c596639db4560a101ff0566708d SHA1 17641cecae3a751cf6a4710de10650c8d245c2d8 SHA256 ff3dfe2602978dd03b90207619ebd2da23d61b51be2727781523d3420d8ebb3c +MD5 cc6bfccc87e490cc41d82c7a4978579c fruit-2.1.ebuild 1143 +RMD160 a28d25cf36425c596639db4560a101ff0566708d fruit-2.1.ebuild 1143 +SHA256 ff3dfe2602978dd03b90207619ebd2da23d61b51be2727781523d3420d8ebb3c fruit-2.1.ebuild 1143 +MISC ChangeLog 382 RMD160 de99bc208ea25a6974557768f5b35e2d0ed7258f SHA1 d33b3936dd61dd65e97ddb2d99e111ce14aa282a SHA256 164dc9a19b956b8cdf37706c4e8c22526bf8a57d2f02044cb9a6447a35a40b36 +MD5 e156200b8e4c51060a04ea307fb31b8c ChangeLog 382 +RMD160 de99bc208ea25a6974557768f5b35e2d0ed7258f ChangeLog 382 +SHA256 164dc9a19b956b8cdf37706c4e8c22526bf8a57d2f02044cb9a6447a35a40b36 ChangeLog 382 +MISC metadata.xml 239 RMD160 59e1fee557a993be2c5b2eccd6ed2dc15c401d0e SHA1 26fca19b57088eb9ce5209d27fe72b2bbeecb84c SHA256 1081d5cfa392bc23ee6e435947b4d979659b421ea45cddab86e32dd5ac8144f8 +MD5 7f39e8a996a2009fbf826c992a6e5ec5 metadata.xml 239 +RMD160 59e1fee557a993be2c5b2eccd6ed2dc15c401d0e metadata.xml 239 +SHA256 1081d5cfa392bc23ee6e435947b4d979659b421ea45cddab86e32dd5ac8144f8 metadata.xml 239 +MD5 87c19ab8a3546a78b7f1fb4e32c36c30 files/digest-fruit-2.1 235 +RMD160 b5d129e82ec93e8c6dcd156b3126cff12ee1afbf files/digest-fruit-2.1 235 +SHA256 cf4bdd0918585a9006d746d0c54b41fa0cd4b5e4162553a77ce08de3ed6cb667 files/digest-fruit-2.1 235 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.6 (GNU/Linux) + +iD8DBQFFyly6bfN2jvlVAhwRAiV5AJ4uM5QBkxDIn5YGopoF3x4TXnyXbwCgvDDc +ac0wOZ3+7/hmJSavUv3sAnM= +=e7jj +-----END PGP SIGNATURE----- diff --git a/games-board/fruit/files/digest-fruit-2.1 b/games-board/fruit/files/digest-fruit-2.1 new file mode 100644 index 000000000000..6f504b912ba7 --- /dev/null +++ b/games-board/fruit/files/digest-fruit-2.1 @@ -0,0 +1,3 @@ +MD5 35e538708a036f58aa88a7acee6a2030 fruit_21_linux.zip 716762 +RMD160 05fb30041ee85540769c1d0ed6a439caac0d8698 fruit_21_linux.zip 716762 +SHA256 ad13f6099dc2acebf0112c36cc7d38fd4009316ad60ecc294c5e828380dcd2c0 fruit_21_linux.zip 716762 diff --git a/games-board/fruit/files/fruit-2.1-gentoo.patch b/games-board/fruit/files/fruit-2.1-gentoo.patch new file mode 100644 index 000000000000..bae207f89627 --- /dev/null +++ b/games-board/fruit/files/fruit-2.1-gentoo.patch @@ -0,0 +1,11 @@ +--- option.cpp.old 2007-02-07 23:32:25.000000000 +0100 ++++ option.cpp 2007-02-07 23:32:51.000000000 +0100 +@@ -29,7 +29,7 @@ + { "Ponder", true, "false", "check", "", NULL },
+
+ { "OwnBook", true, "true", "check", "", NULL },
+- { "BookFile", true, "book_small.bin", "string", "", NULL },
++ { "BookFile", true, "@GENTOO_DATADIR@/book_small.bin", "string", "", NULL },
+
+ { "NullMove Pruning", true, "Fail High", "combo", "var Always var Fail High var Never", NULL },
+ { "NullMove Reduction", true, "3", "spin", "min 1 max 3", NULL },
diff --git a/games-board/fruit/fruit-2.1.ebuild b/games-board/fruit/fruit-2.1.ebuild new file mode 100644 index 000000000000..965d817a420f --- /dev/null +++ b/games-board/fruit/fruit-2.1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-board/fruit/fruit-2.1.ebuild,v 1.1 2007/02/07 23:11:03 tupone Exp $ + +inherit eutils versionator games + +MY_PV=$(replace_all_version_separators '') +MY_P=${PN}_${MY_PV}_linux + +DESCRIPTION="UCI-only chess engine." +HOMEPAGE="http://arctrix.com/nas/fruit/" +SRC_URI="http://arctrix.com/nas/${PN}/${MY_P}.zip" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="" + +DEPEND="app-arch/unzip" + +S=${WORKDIR}/${MY_P}/src + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/${P}"-gentoo.patch + sed -i -e "s:@GENTOO_DATADIR@:${GAMES_DATADIR}/${PN}:" \ + option.cpp + sed -i -e "/^CXXFLAGS/d" Makefile +} + +src_install() { + dogamesbin ${PN} || die "Cannot install ${PN}" + + insinto "${GAMES_DATADIR}/${PN}" + doins ../book_small.bin || die "Cannot install book" + dodoc ../readme.txt ../technical_10.txt || die "Cannot install doc" + + prepgamesdirs +} + +pkg_postinst() { + games_pkg_postinst + + einfo "To use this engine you need to install a chess GUI that talk UCI" + einfo "emerge games-board/glchess to have one" +} diff --git a/games-board/fruit/metadata.xml b/games-board/fruit/metadata.xml new file mode 100644 index 000000000000..b02037f1efca --- /dev/null +++ b/games-board/fruit/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>games</herd> +<longdescription lang="en"> +Fruit is a UCI-only chess engine. +</longdescription> +</pkgmetadata> |