New version: tpserver-cpp 0.6.0.
authorAaron Mavrinac <mavrinac@gmail.com>
Mon, 12 Jan 2009 13:34:46 +0000 (08:34 -0500)
committerAaron Mavrinac <mavrinac@gmail.com>
Mon, 12 Jan 2009 13:34:46 +0000 (08:34 -0500)
games-server/tpserver-cpp/ChangeLog
games-server/tpserver-cpp/Manifest
games-server/tpserver-cpp/tpserver-cpp-0.6.0.ebuild [new file with mode: 0644]

index 3cbdb98..5075f4e 100644 (file)
@@ -2,6 +2,11 @@
 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*tpserver-cpp-0.6.0 (12 Jan 2008)
+
+  12 Jan 2008; Aaron Mavrinac <mavrinac@gmail.com> tpserver-cpp-0.6.0.ebuild:
+  New version
+
   04 Dec 2008; Aaron Mavrinac <mavrinac@gmail.com> tpserver-cpp-0.5.1.ebuild:
   Changed dev-scheme/drscheme to dev-scheme/plt-scheme in depends
 
index bf4ef2b..b96ea92 100644 (file)
@@ -3,8 +3,10 @@ AUX tpserver-cpp.initd 1143 RMD160 e3e0434e50741ddf9d16bc5c1c254b6d6df11f4c SHA1
 AUX tpserver.conf 1001 RMD160 faf1d5eb7eaa83e5a30e7b4d50165149588ef35a SHA1 4b41e33d791811a8624fad8ee812ec6f0c107e8d SHA256 3675a1ee1cf4ae467b521d71653d75f179b7f5536590df34d01d223099aa3361
 DIST tpserver-cpp-0.4.1.tar.gz 800432 RMD160 fc3516f1c33aada2a40cddc8c2ad7ee6d85d1955 SHA1 ad21a3d4cb8cba5d84d8a32ad65da338047561c1 SHA256 71e10f6e660a6ba10a2d47314893001f416792b72d78be30922a7c2dde1a8133
 DIST tpserver-cpp-0.5.1.tar.gz 910924 RMD160 199f2aba0089383ca86dc0f5f5a9034cd565c012 SHA1 bff34c02d8ef685a06d906a792655ce182bc5a24 SHA256 5542a7445a2f8cb7bc0fd37c3c664fb5f93aadabdf1befbdc81d3df2b3f54ff4
+DIST tpserver-cpp-0.6.0.tar.gz 1022099 RMD160 ddd722b9435b22c695c75b20e522152ce8be087f SHA1 3b3db172fb2e51580f7722fc06a8bb2117a5a5e0 SHA256 32ced68d0e447f12729c7580f8a198f5692882fecdc021c9b6dd685a99fe9414
 EBUILD tpserver-cpp-0.4.1.ebuild 1003 RMD160 f3a6a403f33dbf21d6dac7d6edd120ff09f4143f SHA1 b0b86014216039bb1c3f999f77ee8b242877f2e0 SHA256 183c06df19606b16e8f66aa2dbb7bfc79bd0a23a13933eaba5456d6661954c5a
 EBUILD tpserver-cpp-0.5.1.ebuild 1099 RMD160 b246c07348859143752ef782f7c727bc1e46198f SHA1 9b4f504fe693977bf2c39d2804f4502e03afcbae SHA256 d1465de02f3e91f7fea210fcc89ed34569419082f0d8ee817fe77874c4ab073d
+EBUILD tpserver-cpp-0.6.0.ebuild 1275 RMD160 0d6df5a362c629c90fd5537ef7a5ca6ad9c79ede SHA1 30fc82c28820f06b553ab54e6a63af14448521e6 SHA256 68fd9a95460a1cb523fd0a735fc469575bd3751c7cefcc868f8c6112b4ba3d50
 EBUILD tpserver-cpp-9999.ebuild 1284 RMD160 96a90e5f8592a7fadf9f358949120bfa86308d7e SHA1 8e53df757736f32ee07b70720d6aff46dce48d35 SHA256 f6663b52f7cddd7af25ed0bb678a0f8b84cf4bf6819588bf0f35f6bd7ff6a229
-MISC ChangeLog 1105 RMD160 289ae49757ea0d009e58a069544a083be8443003 SHA1 0915a18e1e56cf3301ffc45b7fa90131d11ab9ce SHA256 da10bcb66a52e1c48f112645a9edb1ba27690f3bbe154c3379a2591eb4bbc36b
+MISC ChangeLog 1233 RMD160 ca96938a45629bbaaed4d8adb6e0e12ae8de04c4 SHA1 f186a26a5985b5f8e8114c3ef31dd3ee4d74a516 SHA256 d5231126643fd4fa098adef950c7f90a3ee3ad842ede3bfa1d52606776d8f870
 MISC metadata.xml 332 RMD160 28be196bd790f6bcfcecc629fbf4ce97b3364a24 SHA1 dfca2d8c53772720037e0f1cc64f0e9867cfcc0a SHA256 0ada152869a9d95832438d11fd527b8e2016092b0908721da628ee2d99841357
diff --git a/games-server/tpserver-cpp/tpserver-cpp-0.6.0.ebuild b/games-server/tpserver-cpp/tpserver-cpp-0.6.0.ebuild
new file mode 100644 (file)
index 0000000..e3d8591
--- /dev/null
@@ -0,0 +1,48 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit eutils games
+
+DESCRIPTION="A C++ server for Thousand Parsec games"
+HOMEPAGE="http://www.thousandparsec.net/tp/"
+SRC_URI="mirror://sourceforge/thousandparsec/${P}.tar.gz
+         http://www.thousandparsec.net/tp/downloads/${PN}/${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86 sparc"
+IUSE="avahi gnutls mysql +tpadmin"
+
+DEPEND="dev-libs/boost
+        || ( >=dev-scheme/guile-1.6 dev-scheme/plt-scheme )
+               avahi? ( >=net-dns/avahi-0.6.0 )
+               gnutls? ( >=net-libs/gnutls-1.2.10 )
+               mysql? ( >=dev-db/mysql-4.0 )"
+RDEPEND="${DEPEND}
+                tpadmin? ( games-server/tpadmin-cpp )"
+
+src_compile() {
+       egamesconf \
+               $(use_enable avahi) \
+               $(use_enable gnutls) \
+               $(use_with mysql) \
+               || die "egamesconf failed"
+       emake || die "emake failed"
+}
+
+src_install() {
+       emake DESTDIR="${D}" install || die "emake install failed"
+       dodoc AUTHORS ChangeLog NEWS README
+
+       newinitd "${FILESDIR}"/${PN}.initd ${PN}
+       newconfd "${FILESDIR}"/${PN}.confd ${PN}
+       keepdir /var/{cache,run}/${PN}
+
+       dodir /etc/${PN}
+       insinto /etc/${PN}
+       insopts -m 0640 -o root -g games
+       doins sample.conf "${FILESDIR}"/tpserver.conf
+
+       prepgamesdirs
+       gamesowners /var/{cache,run}/${PN}
+}