summaryrefslogtreecommitdiff
path: root/games-action/xpilot
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-action/xpilot
reinit the tree, so we can have metadata
Diffstat (limited to 'games-action/xpilot')
-rw-r--r--games-action/xpilot/Manifest6
-rw-r--r--games-action/xpilot/metadata.xml11
-rw-r--r--games-action/xpilot/xpilot-4.5.5-r1.ebuild55
-rw-r--r--games-action/xpilot/xpilot-4.5.5.ebuild52
4 files changed, 124 insertions, 0 deletions
diff --git a/games-action/xpilot/Manifest b/games-action/xpilot/Manifest
new file mode 100644
index 000000000000..c86812e9709a
--- /dev/null
+++ b/games-action/xpilot/Manifest
@@ -0,0 +1,6 @@
+DIST xpilot-4.5.5.tar.bz2 1115502 SHA256 5e40424d093c8b712170a5dff3396df63302775f42da829b8832840f359cd92a SHA512 002fbdbee3035e21f441d749d68ac41da2816a691e1c0d1cf9de9cddaa479c92da57eb36081884b9908a6ae83454f6f532c24c89280d27e2cbf9570442ef301c WHIRLPOOL eebaf2fc0aab431ca94f627aa59d38bf708d3e905e6c502381643c239247397eb8cc6131867c84245e0455caabbc874b738d41402c7832045ab250cda7a1de6d
+EBUILD xpilot-4.5.5-r1.ebuild 1192 SHA256 c13ab5f6680067ec67b88d9a9be73519cbbd8119993b22348c2bceeb319ef655 SHA512 b0f1905bd71d84ac1469b09bec8949805c22b96c97212f2d9c27454125992e10633b2f6b7671dd08f6ec185a3d2b236c1681ca01ca64f09fc15263aa8698a270 WHIRLPOOL 6880280c3c0f329a436ce04e38fb4d48c50061b20c933d080b07787e4a17f6d89c8ec7bbdb9f6eecdde23943bfc8ca7ae1a96eafc89f9830cd8637d4686d1496
+EBUILD xpilot-4.5.5.ebuild 1177 SHA256 7fabbea03494dcff3c890b681048e0ee63bd5192cbfbfedd24449a0763b7f042 SHA512 f38ae12bdc0a57adbb4eb5917abfd75f5afdefc9fe5c5f0ae6957b3b8ef8f9cf201947f394ed98fd1c73c758df73dcfa2de8e5d4e9b354297072c128ee5384d0 WHIRLPOOL f57116bc9c83381847a67ab0638c4b521c11378b7511649cbd4e5ba2cfb0d3f838f939cb636c0b523d9746f0b5ef21efadb99e6753239e5b01eec30e5e9651e8
+MISC ChangeLog 2428 SHA256 43840056f12b68819c83158bf0d397e09fe760283acc61655b9f85637953993b SHA512 b7aa20d268490561e49c00b692740d5503ca3d73ee4c9359412c142c3c62414c3237d27326408275a76cf7715619124e391a1d08be8892706620af7cf3462fd6 WHIRLPOOL 0abb1c85f7bac9ff3150addabbdcc4c94c348b72ec310dbda04e69c0c5c59365585cbe61225bbbd4f7a7a9040546935375f3fc987ff24d3769cb5a525d58745d
+MISC ChangeLog-2015 2298 SHA256 d8dde34958fb151c6dc61bff5ac394a2099508f2aaf0fd472f584343c58628fc SHA512 b962b3ece27d7c6a6abe5bd98acc08eb505bbdc3697b36948199549e50a438e924a1471768edaed5414f480720ccb099f8296a306e5a69ccd030cd356c2a6c76 WHIRLPOOL f44cd5e563241d591a363d9198f534c40b7631dfba7975555f18e1903974bbbf8c15cbc5f40ea76ec69ac8b0486780882e82019740ccba21c0270cc876f30057
+MISC metadata.xml 333 SHA256 0d8221adb35c2940dfad9ca5c6b1681d701fcddbc99752745aacaa790d9fb8ee SHA512 b6a52a4afe7804b04646d42366ef3812a70fba44d44e9da662a70c7c646aba015792fd8bef65da9c5abdc4b5188cf0657ba80ab1d1920b6b692606274c3afca4 WHIRLPOOL 9028aba86794884a720484700106472da189bd03b894febcfc19290e33c7c1ea3eb60e56e70ba105dff78f781f1f197a91523853a3825bcaa25c7e2e68354044
diff --git a/games-action/xpilot/metadata.xml b/games-action/xpilot/metadata.xml
new file mode 100644
index 000000000000..8276088f013b
--- /dev/null
+++ b/games-action/xpilot/metadata.xml
@@ -0,0 +1,11 @@
+<?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>
+ <upstream>
+ <remote-id type="sourceforge">xpilotgame</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/games-action/xpilot/xpilot-4.5.5-r1.ebuild b/games-action/xpilot/xpilot-4.5.5-r1.ebuild
new file mode 100644
index 000000000000..cfd0162fb1aa
--- /dev/null
+++ b/games-action/xpilot/xpilot-4.5.5-r1.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit eutils toolchain-funcs
+
+DESCRIPTION="A multi-player 2D client/server space game"
+HOMEPAGE="http://www.xpilot.org/"
+SRC_URI="mirror://sourceforge/xpilotgame/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="x11-libs/libX11
+ x11-libs/libXext"
+DEPEND="${RDEPEND}
+ app-text/rman
+ x11-misc/gccmakedep
+ x11-misc/imake
+ x11-proto/xextproto
+ x11-proto/xproto"
+
+src_prepare() {
+ #default
+ eapply_user
+
+ sed -i \
+ -e '/^INSTMAN/s:=.*:=/usr/share/man/man6:' \
+ -e "/^INSTLIB/s:=.*:=/usr/share/${PN}:" \
+ -e "/^INSTBIN/s:=.*:=/usr/bin:" \
+ Local.config || die
+
+ # work with glibc-2.20
+ sed -i \
+ -e 's/getline/lgetline/' \
+ src/client/textinterface.c || die
+}
+
+src_compile() {
+ xmkmf || die
+ emake Makefiles
+ emake includes
+ emake depend
+ emake CC="$(tc-getCC)" CDEBUGFLAGS="${CFLAGS} ${LDFLAGS}"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ emake DESTDIR="${D}" install.man
+ newicon lib/textures/logo.ppm ${PN}.ppm
+ make_desktop_entry ${PN} XPilot /usr/share/pixmaps/${PN}.ppm
+ dodoc README.txt doc/{ChangeLog,CREDITS,FAQ,README*,TODO}
+}
diff --git a/games-action/xpilot/xpilot-4.5.5.ebuild b/games-action/xpilot/xpilot-4.5.5.ebuild
new file mode 100644
index 000000000000..578c69b90d88
--- /dev/null
+++ b/games-action/xpilot/xpilot-4.5.5.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit eutils games
+
+DESCRIPTION="A multi-player 2D client/server space game"
+HOMEPAGE="http://www.xpilot.org/"
+SRC_URI="mirror://sourceforge/xpilotgame/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+RDEPEND="x11-libs/libX11
+ x11-libs/libXext"
+DEPEND="${RDEPEND}
+ x11-proto/xextproto
+ x11-proto/xproto
+ x11-misc/gccmakedep
+ x11-misc/imake
+ app-text/rman"
+
+src_prepare() {
+ sed -i \
+ -e '/^INSTMAN/s:=.*:=/usr/share/man/man6:' \
+ -e "/^INSTLIB/s:=.*:=${GAMES_DATADIR}/${PN}:" \
+ -e "/^INSTBIN/s:=.*:=${GAMES_BINDIR}:" \
+ Local.config || die
+ # work with glibc-2.20
+ sed -i \
+ -e 's/getline/lgetline/' \
+ src/client/textinterface.c || die
+}
+
+src_compile() {
+ xmkmf || die
+ emake Makefiles
+ emake includes
+ emake depend
+ emake CC="${CC}" CDEBUGFLAGS="${CFLAGS} ${LDFLAGS}"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ emake DESTDIR="${D}" install.man
+ newicon lib/textures/logo.ppm ${PN}.ppm
+ make_desktop_entry ${PN} XPilot /usr/share/pixmaps/${PN}.ppm
+ dodoc README.txt doc/{ChangeLog,CREDITS,FAQ,README*,TODO}
+ prepgamesdirs
+}