summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-games/libtpproto-cpp/Manifest4
-rw-r--r--dev-games/libtpproto-cpp/files/libtpproto-cpp-0.1.9-stdint.patch11
-rw-r--r--dev-games/libtpproto-cpp/libtpproto-cpp-0.1.9.ebuild55
-rw-r--r--dev-games/libtpproto-cpp/metadata.xml8
-rw-r--r--games-server/tpadmin-cpp/Manifest4
-rw-r--r--games-server/tpadmin-cpp/files/tpadmin-cpp-0.1.0-stdint.patch11
-rw-r--r--games-server/tpadmin-cpp/metadata.xml8
-rw-r--r--games-server/tpadmin-cpp/tpadmin-cpp-0.1.0.ebuild31
8 files changed, 132 insertions, 0 deletions
diff --git a/dev-games/libtpproto-cpp/Manifest b/dev-games/libtpproto-cpp/Manifest
new file mode 100644
index 0000000..63f5db0
--- /dev/null
+++ b/dev-games/libtpproto-cpp/Manifest
@@ -0,0 +1,4 @@
+AUX libtpproto-cpp-0.1.9-stdint.patch 434 RMD160 0c34e2c4f0e953939605b2e1f22a4620f8df1a4a SHA1 6ad319b3823de2d3a95515ba71040e18e7a84b80 SHA256 a1c581400a2c84b94f830b16c5fbb369ed672319bd292d3d2d7c95ef07b1259d
+DIST libtpproto-cpp-0.1.9.tar.gz 464498 RMD160 78740fb6b8ee42ae350155ed1900f09a8bb8956c SHA1 8ba6ed42aa33ffa8ed860736d90458381819e26c SHA256 8bb015bb436631f48b6f58a9ddffd1a1d511d30c753f08b504b2dd221582d3dc
+EBUILD libtpproto-cpp-0.1.9.ebuild 864 RMD160 46a3644c373c44d4020e372afbf1d1f67a220d3c SHA1 6db974f6b6e43dd4bc9caab5277a392c5bdf1b8a SHA256 d5a6a31f1eeb092eb250b0ebbaa5b288e2384a18ad8360d9cdd24c0f2bdd6b30
+MISC metadata.xml 230 RMD160 65b1879f0881b046ac536157a1b73ae8e08a8a23 SHA1 14b143872462f3e5df4ac14bb0e872f1dc762ef0 SHA256 0ef810189a3667f1a7527037968f2b88fae043d5efcaaaa27e33287da96783b6
diff --git a/dev-games/libtpproto-cpp/files/libtpproto-cpp-0.1.9-stdint.patch b/dev-games/libtpproto-cpp/files/libtpproto-cpp-0.1.9-stdint.patch
new file mode 100644
index 0000000..a5ba1b0
--- /dev/null
+++ b/dev-games/libtpproto-cpp/files/libtpproto-cpp-0.1.9-stdint.patch
@@ -0,0 +1,11 @@
+diff -ruN libtpproto-cpp-0.1.9.old/tpproto//commanddesc.h libtpproto-cpp-0.1.9/tpproto//commanddesc.h
+--- libtpproto-cpp-0.1.9.old/tpproto//commanddesc.h 2008-08-26 03:27:34.000000000 -0400
++++ libtpproto-cpp-0.1.9/tpproto//commanddesc.h 2012-02-22 16:49:22.000000000 -0500
+@@ -24,6 +24,7 @@
+ \brief Declares CommandDescription Admin Frame.
+ */
+
++#include <stdint.h>
+ #include <string>
+ #include <list>
+ #include <tpproto/frame.h>
diff --git a/dev-games/libtpproto-cpp/libtpproto-cpp-0.1.9.ebuild b/dev-games/libtpproto-cpp/libtpproto-cpp-0.1.9.ebuild
new file mode 100644
index 0000000..c78a217
--- /dev/null
+++ b/dev-games/libtpproto-cpp/libtpproto-cpp-0.1.9.ebuild
@@ -0,0 +1,55 @@
+# Copyright 2008-2012 Funtoo Technologies
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+
+inherit base
+
+DESCRIPTION="A C++ protocol library for Thousand Parsec game clients"
+HOMEPAGE="http://www.thousandparsec.net/tp/"
+SRC_URI="
+ ${HOMEPAGE}/downloads/${PN}/${P}.tar.gz
+"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="doc gnutls"
+
+RDEPEND="
+ dev-libs/boost
+ gnutls? ( >=net-libs/gnutls-1.2.10 )
+"
+DEPEND="${RDEPEND}
+ doc? ( app-doc/doxygen )
+"
+
+PATCHES=(
+ "${FILESDIR}/${P}-stdint.patch"
+)
+
+DOCS="AUTHORS ChangeLog README"
+
+src_configure() {
+ econf \
+ $(use_enable gnutls) \
+ || die "econf failed"
+}
+
+src_compile() {
+ base_src_compile
+
+ if use doc; then
+ make doc || ewarn "make doc failed".
+ fi
+}
+
+src_install() {
+ base_src_install
+
+ if use doc; then
+ insinto /usr/share/doc/${PF}
+ dohtml -r docs/html/*
+ fi
+}
diff --git a/dev-games/libtpproto-cpp/metadata.xml b/dev-games/libtpproto-cpp/metadata.xml
new file mode 100644
index 0000000..3510201
--- /dev/null
+++ b/dev-games/libtpproto-cpp/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>mavrinac@gmail.com</email>
+ <name>Aaron Mavrinac</name>
+</maintainer>
+</pkgmetadata>
diff --git a/games-server/tpadmin-cpp/Manifest b/games-server/tpadmin-cpp/Manifest
new file mode 100644
index 0000000..8396c3f
--- /dev/null
+++ b/games-server/tpadmin-cpp/Manifest
@@ -0,0 +1,4 @@
+AUX tpadmin-cpp-0.1.0-stdint.patch 376 RMD160 905074d95f8a1e3434e25ef9a3fc58864e0b3f51 SHA1 08e73c7880cbcbd593f715ffb31ef0becd4cf80f SHA256 adfd5c3917290fee0ba19bc3a7b172c25593f1f883a12bd08c73a0292b8c3949
+DIST tpadmin-cpp-0.1.0.tar.gz 159598 RMD160 523533de1dbac47847561abe825c7b4457a970b9 SHA1 2e5b31106c54a1d46f5d59833149175ab93c4626 SHA256 082aea8c60effd1728be13b7200c2e416ffc0da5ef9f6c45a77b864a2c66d4b6
+EBUILD tpadmin-cpp-0.1.0.ebuild 572 RMD160 997d21cf530331eaf754d6b563ccac796dbc714f SHA1 56e1ca9e3b0366baf5ddd4596e53cc0b0fb1e978 SHA256 910290aa1acb87c4a8df36ad12a8e45cfa22b214ccd88a250eb624b8c3bf1b25
+MISC metadata.xml 230 RMD160 65b1879f0881b046ac536157a1b73ae8e08a8a23 SHA1 14b143872462f3e5df4ac14bb0e872f1dc762ef0 SHA256 0ef810189a3667f1a7527037968f2b88fae043d5efcaaaa27e33287da96783b6
diff --git a/games-server/tpadmin-cpp/files/tpadmin-cpp-0.1.0-stdint.patch b/games-server/tpadmin-cpp/files/tpadmin-cpp-0.1.0-stdint.patch
new file mode 100644
index 0000000..ff1d9d7
--- /dev/null
+++ b/games-server/tpadmin-cpp/files/tpadmin-cpp-0.1.0-stdint.patch
@@ -0,0 +1,11 @@
+diff -ruN tpadmin-cpp-0.1.0.old/tpadmin//session.h tpadmin-cpp-0.1.0/tpadmin//session.h
+--- tpadmin-cpp-0.1.0.old/tpadmin//session.h 2008-07-03 12:45:34.000000000 -0400
++++ tpadmin-cpp-0.1.0/tpadmin//session.h 2012-02-22 16:45:53.000000000 -0500
+@@ -21,6 +21,7 @@
+ #ifndef SESSION_H
+ #define SESSION_H
+
++#include <stdint.h>
+ #include <set>
+ #include <boost/shared_ptr.hpp>
+
diff --git a/games-server/tpadmin-cpp/metadata.xml b/games-server/tpadmin-cpp/metadata.xml
new file mode 100644
index 0000000..3510201
--- /dev/null
+++ b/games-server/tpadmin-cpp/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>mavrinac@gmail.com</email>
+ <name>Aaron Mavrinac</name>
+</maintainer>
+</pkgmetadata>
diff --git a/games-server/tpadmin-cpp/tpadmin-cpp-0.1.0.ebuild b/games-server/tpadmin-cpp/tpadmin-cpp-0.1.0.ebuild
new file mode 100644
index 0000000..6f4b172
--- /dev/null
+++ b/games-server/tpadmin-cpp/tpadmin-cpp-0.1.0.ebuild
@@ -0,0 +1,31 @@
+# Copyright 2008-2012 Funtoo Technologies
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=3
+
+inherit games
+
+DESCRIPTION="A command-line administration utility for Thousand Parsec servers."
+HOMEPAGE="http://www.thousandparsec.net/tp/"
+SRC_URI="
+ ${HOMEPAGE}/downloads/${PN}/${P}.tar.gz
+"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+DEPEND="
+ dev-libs/boost
+ >=dev-libs/libtprl-0.1.2
+ >=dev-games/libtpproto-cpp-0.1.9
+"
+RDEPEND="${DEPEND}"
+
+PATCHES=(
+ "${FILESDIR}/${P}-stdint.patch"
+)
+
+DOCS="AUTHORS ChangeLog NEWS README"