summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-arcade')
-rw-r--r--games-arcade/mtp-target-bin/ChangeLog8
-rw-r--r--games-arcade/mtp-target-bin/files/digest-mtp-target-bin-1.0.41
-rw-r--r--games-arcade/mtp-target-bin/files/mtp-target-bin.sh15
-rw-r--r--games-arcade/mtp-target-bin/mtp-target-bin-1.0.4.ebuild43
4 files changed, 67 insertions, 0 deletions
diff --git a/games-arcade/mtp-target-bin/ChangeLog b/games-arcade/mtp-target-bin/ChangeLog
new file mode 100644
index 000000000000..b83f8d4c58ba
--- /dev/null
+++ b/games-arcade/mtp-target-bin/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for games-arcade/mtp-target-bin
+# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/mtp-target-bin/ChangeLog,v 1.1 2004/06/19 02:57:33 vapier Exp $
+
+*mtp-target-bin-1.0.4 (18 Jun 2004)
+
+ 18 Jun 2004; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by me for mr bones.
diff --git a/games-arcade/mtp-target-bin/files/digest-mtp-target-bin-1.0.4 b/games-arcade/mtp-target-bin/files/digest-mtp-target-bin-1.0.4
new file mode 100644
index 000000000000..b82e0d6071c6
--- /dev/null
+++ b/games-arcade/mtp-target-bin/files/digest-mtp-target-bin-1.0.4
@@ -0,0 +1 @@
+MD5 e7039899ebd609c8f1b5629cccf481df mtp-target-1.0.4.tar.bz2 11970881
diff --git a/games-arcade/mtp-target-bin/files/mtp-target-bin.sh b/games-arcade/mtp-target-bin/files/mtp-target-bin.sh
new file mode 100644
index 000000000000..801d41b2cac6
--- /dev/null
+++ b/games-arcade/mtp-target-bin/files/mtp-target-bin.sh
@@ -0,0 +1,15 @@
+#!/bin/bash
+
+cd /opt/mtp-target-bin
+
+exe=""
+dir=""
+case $0 in
+ *client*) exe=client; dir=client;;
+ *server*) exe=mtp_target_service; dir=server;;
+ *) exit 1;;
+esac
+
+cd ${dir}
+export LD_LIBRARY_PATH="../lib:${LD_LIBRARY_PATH}"
+exec ./${exe} "$@"
diff --git a/games-arcade/mtp-target-bin/mtp-target-bin-1.0.4.ebuild b/games-arcade/mtp-target-bin/mtp-target-bin-1.0.4.ebuild
new file mode 100644
index 000000000000..d446e85fa0ae
--- /dev/null
+++ b/games-arcade/mtp-target-bin/mtp-target-bin-1.0.4.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/mtp-target-bin/mtp-target-bin-1.0.4.ebuild,v 1.1 2004/06/19 02:57:33 vapier Exp $
+
+#ECVS_SERVER="cvs.gna.org:/cvs/mtptarget"
+#ECVS_MODULE="mtp-target"
+#inherit cvs
+
+MY_PN=${PN/-bin}
+DESCRIPTION="a Monkey Target clone (six mini-game from Super Monkey Ball)"
+HOMEPAGE="http://www.mtp-target.org/"
+SRC_URI="http://mtptarget.free.fr/download/${MY_PN}-${PV}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND="dev-libs/STLport
+ sys-libs/zlib
+ dev-libs/libxml2
+ virtual/x11
+ virtual/opengl
+ =media-libs/freetype-2*
+ media-libs/jpeg
+ >=dev-lang/lua"
+
+S=${WORKDIR}/${MY_PN}
+
+src_install() {
+ rm {client,server}/launch.sh
+
+ dodir /opt/${PN}
+ cp -a ${S}/* ${D}/opt/${PN}/
+
+ into /opt
+ newbin ${FILESDIR}/${PN}.sh ${PN}-client
+ dosym ${PN}-client /opt/bin/${PN}-server
+
+ dosym /usr/lib/liblualib.so /opt/${PN}/lib/liblualib50.so.5.0
+ dosym /usr/lib/liblua.so /opt/${PN}/lib/liblua50.so.5.0
+}