Added daneel-ai.xml in ebuild files (temporary, until included with
authorAaron Mavrinac <mavrinac@gmail.com>
Fri, 30 Jan 2009 15:11:44 +0000 (10:11 -0500)
committerAaron Mavrinac <mavrinac@gmail.com>
Fri, 30 Jan 2009 15:11:44 +0000 (10:11 -0500)
daneel-ai).

games-strategy/daneel-ai/ChangeLog
games-strategy/daneel-ai/Manifest
games-strategy/daneel-ai/daneel-ai-0.0.1.ebuild
games-strategy/daneel-ai/files/daneel-ai.xml [new file with mode: 0644]

index 6bbbd1b..1e162b2 100644 (file)
@@ -2,6 +2,9 @@
 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  30 Jan 2009; Aaron Mavrinac <mavrinac@gmail.com> daneel-ai-0.0.1.ebuild:
+  Added daneel-ai.xml to files
+
 *daneel-ai-0.0.1 (21 Jan 2009)
 
   21 Jan 2009; Aaron Mavrinac <mavrinac@gmail.com> daneel-ai-0.0.1.ebuild: 
index d03a9b2..3b1f77d 100644 (file)
@@ -1,5 +1,6 @@
 AUX daneel-ai 39 RMD160 05ce631da57ca70db705f4392be946c552bbb2e1 SHA1 963f9e002358ecc2879b266bee10e717657fabb1 SHA256 d38023d0f258efd1915f149812de790ddb3c0eaabdee331bdb48c25ad4f36b74
+AUX daneel-ai.xml 467 RMD160 153ab6125f4400f0fa5fd79cfc6e09a0bc675b09 SHA1 9015bc79e96aef997ea32f3716d8087c6e03d917 SHA256 b8a53cdfe0adee5a6db5bccebbe6cadb66a9dd083ede6479f6659690d8b8d764
 DIST daneel-ai-0.0.1.tar.bz2 26635 RMD160 de289a4e070fb7fff5bf710f7e5e4cef68f3e3b3 SHA1 71e0217fe1486a0fa36bdcc6db2f0944ed6fa0f6 SHA256 4ef24c673d83fe6f2209a67ae88c70c52badf552a22fbe409585f6e42a313377
-EBUILD daneel-ai-0.0.1.ebuild 1294 RMD160 db5ef49aa91f5a4f4556e2715684b7de8b9f1bc5 SHA1 31bc9a801f250a1a5af17542c163cc40949e730b SHA256 8aec0da21e1698cd9c8fb710f6f06e5be396cd35a5a9a9157404d9edae97bf2c
-MISC ChangeLog 250 RMD160 578fcf08b1d586826a2501d356a93be0ca2707a0 SHA1 1a00ac9f2e93770cbb7c632208f8555de2bdbe22 SHA256 2b2484f5e1c36a6ebc47a65ea103bbadb8ba86be98ea35331b15145c5eed57dc
+EBUILD daneel-ai-0.0.1.ebuild 1369 RMD160 6a002afd3caf2e269c4445c4a7f607079a13ad2c SHA1 3e583a0d19e5139ed9cdcfea2e07ca99c3c69c5c SHA256 5b29e39abd098ef0cb9fb34ded38991e85bdf9c49aa168e482fc214a1b85b012
+MISC ChangeLog 357 RMD160 dd18970cd8d4a66026111f1edf50ed60d37d4f38 SHA1 578f0903538eb9ab2e5186496c8b9599a62eb54d SHA256 464f0fdf691885e0fa95f5dab4581d79824c515efbbdba063f9af05e54f3ca06
 MISC metadata.xml 334 RMD160 8096c25a9bf6294c2237efdf06ba6c3fd7d86d00 SHA1 d0d088119890d7e1a770910f6ec48a87f687a276 SHA256 87ff1e2c137900f3f39644b37aa3639241e02c56284e55ab64cbf6388b03c91f
index 2071cca..0229fa2 100644 (file)
@@ -43,6 +43,9 @@ src_install() {
        > ${WORKDIR}/daneel-ai
        dogamesbin ${WORKDIR}/daneel-ai
 
+       insinto "${GAMES_DATADIR}"/tp/aiclients
+       doins ${FILESDIR}/daneel-ai.xml
+
        dodoc AUTHORS README TODO
        prepgamesdirs
 }
diff --git a/games-strategy/daneel-ai/files/daneel-ai.xml b/games-strategy/daneel-ai/files/daneel-ai.xml
new file mode 100644 (file)
index 0000000..599e05d
--- /dev/null
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<!DOCTYPE tpconfig SYSTEM "http://thousandparsec.net/tp/downloads/tpconfig.dtd">
+<tpconfig>
+    <aiclient name="daneel-ai">
+        <longname>daneel-ai</longname>
+        <version>0</version>
+        <description>An advanced rule based AI.</description>
+        <commandstring>daneel-ai -f %(rname)s -u tp://%(user)s:password@localhost:%(port)d</commandstring>
+        <rules>risk</rules>
+        <rules>rfts</rules>
+    </aiclient>
+</tpconfig>