summaryrefslogtreecommitdiff
path: root/games-server/monopd
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /games-server/monopd
reinit the tree, so we can have metadata
Diffstat (limited to 'games-server/monopd')
-rw-r--r--games-server/monopd/Manifest7
-rw-r--r--games-server/monopd/files/monopd.in19
-rw-r--r--games-server/monopd/metadata.xml8
-rw-r--r--games-server/monopd/monopd-0.10.2-r1.ebuild43
-rw-r--r--games-server/monopd/monopd-0.10.2.ebuild42
5 files changed, 119 insertions, 0 deletions
diff --git a/games-server/monopd/Manifest b/games-server/monopd/Manifest
new file mode 100644
index 000000000000..321b4bbf0bb4
--- /dev/null
+++ b/games-server/monopd/Manifest
@@ -0,0 +1,7 @@
+AUX monopd.in 391 SHA256 c85a30625afa9b5438922963ba5dc86038bcf585f9866216d2c7d0206b9b39f4 SHA512 55b9fd625039b72032b4d0ea6769c2b5a2690ede1f5445e72900a4d423a2ea51c768cdc1f08f69577f7776f9638983d23a1e0f5afe20a174ccc2d44ef77271ab WHIRLPOOL 874c83e8422b18e33c014214b4ac3878489a93e8b0155139f1e5cc7612f47bf439ca349ec427b42cfbce3433fedaa322f64d39b8bacea0f3296d30e0df19c2e1
+DIST monopd-0.10.2.tar.gz 180317 SHA256 252da82002ea27015cb53f9ded04c63838b237c9d254d1b504af56249ed75fdb SHA512 f47d9623e110a98d9d32b522484944998fb6e7e8644e1f2b439428a1e12b3b514b902e52e7135150135a3e3251aa38604434347d06533f3cf3ffb28a2a81ede3 WHIRLPOOL 5f42874cbc51bf2209bf0328b4df348832a808faa101a50b323b8ce8b12c9eacf70684738819da16115c30244b1dfe1a94f0b98b177cfe9ad615f734a4db5641
+EBUILD monopd-0.10.2-r1.ebuild 902 SHA256 d1d8b19bfd0f7ec597a15fe6f7b72e2a18f91d6c68bae73b9b7905ca17d55d9d SHA512 db67b071b77926d6f9dece68fa2f0e83579d221dad71c4de843c6f272273c9e2e39a8d7300ac6cc1038d633d08f367fde589ccf0f0593cb19f47431a662db6b2 WHIRLPOOL 2a175a9f8c81489d9851ca50f3379756b41a38283a4aa64cfb90c564dcea4b83ea43b5ca5bce6a128941154daceb515ce2660f70b52d24e2330d69a447fb8e65
+EBUILD monopd-0.10.2.ebuild 930 SHA256 8bedaf0fd7bb8b2e834402490e1f21a8b415309775a171d35ab3adc021b934d2 SHA512 591496564e7ce18993f062d4c55a9afcef5b88eea6e6558011c57046ea5c3fd9c97b5066b4941983fa0abbe3c1e353268122710123e9fd134578e7672e3f86e3 WHIRLPOOL 1d23762960499a91018937377c53627b6f88c384d7b6ece3073bbb47e2b46c8ffb69b1a2ad60db505986248c824b4650c98ddf5c6a71218000bdc217c7c3e5d0
+MISC ChangeLog 3694 SHA256 af01aee272ab64ca9b37620086440d044ea68711f6ed82800e653a5e683a1b10 SHA512 79203cc23c93c4182c48897a290a4aa85a725932ca407cfa09e343efb08666838052cbdb881cdc9ffc90e611894d658bcc5ffbd9a557e27fca8834cdf5bd46ed WHIRLPOOL 04611842871ce2c593c2b6e070cce4769687dfd505fe3c28993373cfbb46b9d3a1ffb1606176a4da723108191b787f72a5a01fdc565f210d7234dc2093f63804
+MISC ChangeLog-2015 4397 SHA256 9195140dc8619ce7e6aad687205f007c2e753f9c3c6271ee62cdd9188c3f1138 SHA512 93b03054f7df46aec0cca94a930f9c9516b3e3b36846b1606cf7455530e7b44b6f4d2c33e7c714f343c4b76cdd37932ede1d61269ad70bcf6235bf824d5871e7 WHIRLPOOL 295debfcb94f08aec5d4a7cc1414d4cdd70b55183e1d65b247c5d0414b72e2c7ab619e6950bfbf8273ae66ba8c00273775874229e3d378e1860e6ff0bb49578b
+MISC metadata.xml 249 SHA256 943b9ce0cd072229b43569ab668dd7ec741d9dfefd942c8921dabd4490b27b0c SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 WHIRLPOOL b10e21575c78e201a652c8582cd16e3f7c86b13dd20a30f4cea44066fb139440b3c186147dbaae83478f11a20b6f457a99c8b29ee1239a4caaa21eee01250088
diff --git a/games-server/monopd/files/monopd.in b/games-server/monopd/files/monopd.in
new file mode 100644
index 000000000000..9a0fbda55ffb
--- /dev/null
+++ b/games-server/monopd/files/monopd.in
@@ -0,0 +1,19 @@
+#!/sbin/openrc-run
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+depend() {
+ use net
+}
+
+start() {
+ ebegin "Starting monopd server"
+ start-stop-daemon --start -q -b --exec GENTOO_DIR/monopd
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping monopd server"
+ start-stop-daemon --stop -q --exec GENTOO_DIR/monopd
+ eend $?
+}
diff --git a/games-server/monopd/metadata.xml b/games-server/monopd/metadata.xml
new file mode 100644
index 000000000000..78274e0fa550
--- /dev/null
+++ b/games-server/monopd/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 type="project">
+ <email>games@gentoo.org</email>
+ <name>Gentoo Games Project</name>
+</maintainer>
+</pkgmetadata>
diff --git a/games-server/monopd/monopd-0.10.2-r1.ebuild b/games-server/monopd/monopd-0.10.2-r1.ebuild
new file mode 100644
index 000000000000..c0776e83d646
--- /dev/null
+++ b/games-server/monopd/monopd-0.10.2-r1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit autotools eutils systemd
+
+DESCRIPTION="server for atlantik games"
+HOMEPAGE="http://gtkatlantic.gradator.net/"
+SRC_URI="http://download.tuxfamily.org/gtkatlantic/monopd/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="systemd"
+
+RDEPEND="systemd? ( sys-apps/systemd )"
+DEPEND="${RDEPEND}
+ >=dev-cpp/muParser-2
+ dev-libs/utfcpp"
+
+src_prepare() {
+ default
+
+ sed "s:GENTOO_DIR:\"/usr/bin\":" \
+ "${FILESDIR}"/monopd.in > "${T}"/monopd || die
+ sed -i \
+ -e "s:/usr/sbin:/usr/bin:" \
+ doc/systemd/monopd.service || die
+ sed -i \
+ -e '/C_SUBST(CXXFLAGS/s/CFLAGS/CXXFLAGS/' \
+ configure.ac || die
+ eautoreconf
+}
+
+src_configure() {
+ econf $(use_with systemd systemd-daemon)
+}
+
+src_install() {
+ default
+ doinitd "${T}"/monopd
+ systemd_dounit doc/systemd/monopd.s*
+}
diff --git a/games-server/monopd/monopd-0.10.2.ebuild b/games-server/monopd/monopd-0.10.2.ebuild
new file mode 100644
index 000000000000..ac01e57a358d
--- /dev/null
+++ b/games-server/monopd/monopd-0.10.2.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit autotools eutils systemd games
+
+DESCRIPTION="server for atlantik games"
+HOMEPAGE="http://gtkatlantic.gradator.net/"
+SRC_URI="http://download.tuxfamily.org/gtkatlantic/monopd/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="systemd"
+
+RDEPEND="systemd? ( sys-apps/systemd )"
+DEPEND="${RDEPEND}
+ >=dev-cpp/muParser-2
+ dev-libs/utfcpp"
+
+src_prepare() {
+ sed "s:GENTOO_DIR:\"${GAMES_BINDIR}\":" \
+ "${FILESDIR}"/monopd.in > "${T}"/monopd || die
+ sed -i \
+ -e "s:/usr/sbin:${GAMES_BINDIR}:" \
+ doc/systemd/monopd.service || die
+ sed -i \
+ -e '/C_SUBST(CXXFLAGS/s/CFLAGS/CXXFLAGS/' \
+ configure.ac || die
+ eautoreconf
+}
+
+src_configure() {
+ egamesconf $(use_with systemd systemd-daemon)
+}
+
+src_install() {
+ default
+ doinitd "${T}"/monopd
+ systemd_dounit doc/systemd/monopd.s*
+ prepgamesdirs
+}