From 5ef9ce1d8a9953392a3e35e68b8d185d22a26675 Mon Sep 17 00:00:00 2001 From: Aaron Mavrinac Date: Wed, 22 Feb 2012 16:55:42 -0500 Subject: Initial import of dev-games/libtppproto-cpp and games-server/tpadmin-cpp ebuilds. --- dev-games/libtpproto-cpp/Manifest | 4 ++ .../files/libtpproto-cpp-0.1.9-stdint.patch | 11 +++++ .../libtpproto-cpp/libtpproto-cpp-0.1.9.ebuild | 55 ++++++++++++++++++++++ dev-games/libtpproto-cpp/metadata.xml | 8 ++++ 4 files changed, 78 insertions(+) create mode 100644 dev-games/libtpproto-cpp/Manifest create mode 100644 dev-games/libtpproto-cpp/files/libtpproto-cpp-0.1.9-stdint.patch create mode 100644 dev-games/libtpproto-cpp/libtpproto-cpp-0.1.9.ebuild create mode 100644 dev-games/libtpproto-cpp/metadata.xml (limited to 'dev-games') 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 + #include + #include + #include 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 @@ + + + + + mavrinac@gmail.com + Aaron Mavrinac + + -- cgit v1.2.3-65-gdbad