summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-util/qstat')
-rw-r--r--games-util/qstat/Manifest1
-rw-r--r--games-util/qstat/qstat-2.14.ebuild37
2 files changed, 38 insertions, 0 deletions
diff --git a/games-util/qstat/Manifest b/games-util/qstat/Manifest
index d5411a66493a..807968d34050 100644
--- a/games-util/qstat/Manifest
+++ b/games-util/qstat/Manifest
@@ -1 +1,2 @@
DIST qstat-2.11.tar.gz 258335 SHA256 16f0c0f55567597d7f2db5136a0858c56effb4481a2c821a48cd0432ea572150 SHA512 e3ff732c6fc45300eb2f32b3f3e8e1e5f8ee32234535e8d2ca19cf95cf6d4a6de5b6f1e48a5c64315d60a8b388521106b2de9d307f718f6150ad2cf40ba75a22 WHIRLPOOL 51650c2ee07c4e8b8604973babc8854073b13e4afb6502df585d97a4aa0a795e7e5d789d39d1a6a891a252975945ceb98fca713456578c3522a95815872c38a9
+DIST qstat-2.14.tar.gz 210440 SHA256 ae906b74d4cce8057b5a265b76859101da8104c2a07c05f11a51f7c9f033ef8b SHA512 f2054d74399fe1773a19ca43629e10364fdd87e551459719685c11f38245a05906631b456848b1a3764b4e6843baf654af6a9b174c7b16908b6bcb97ac64c6d6 WHIRLPOOL a9dbed6d570b8ca7750773d11c9cca289f418fabf8d68b4a046aff3a754c91345fa6ae3bdc49456832bd41f2812feed757a57cc64ee6c5fd632c6155dc510136
diff --git a/games-util/qstat/qstat-2.14.ebuild b/games-util/qstat/qstat-2.14.ebuild
new file mode 100644
index 000000000000..75834f2b6f6a
--- /dev/null
+++ b/games-util/qstat/qstat-2.14.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools
+
+DESCRIPTION="Server statics collector supporting many FPS games"
+HOMEPAGE="https://github.com/multiplay/qstat"
+SRC_URI="https://github.com/multiplay/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Artistic"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86"
+IUSE="debug"
+
+DEPEND="!sys-cluster/torque"
+
+DOCS=( CHANGES.txt COMPILE.txt template/README.txt )
+
+src_prepare() {
+ default
+ eautoreconf
+
+ # bug #530952
+ sed -i -e 's/strndup/l_strndup/g' qstat.c || die
+}
+
+src_configure() {
+ econf $(use_enable debug)
+}
+
+src_install() {
+ default
+ dosym qstat /usr/bin/quakestat
+ dohtml template/*.html qstatdoc.html
+}