summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2008-08-14 16:42:43 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2008-08-14 16:42:43 +0000
commit82a982fc5045d73c70d0ce4b5b191712e022d6ca (patch)
tree649ea2255aa33ad04c882196dd4792c8952dd844 /games-arcade/mtp-target-bin
parentStable on ppc wrt bug 233790 (diff)
downloadgentoo-2-82a982fc5045d73c70d0ce4b5b191712e022d6ca.tar.gz
gentoo-2-82a982fc5045d73c70d0ce4b5b191712e022d6ca.tar.bz2
gentoo-2-82a982fc5045d73c70d0ce4b5b191712e022d6ca.zip
version bump - ebuild submitted by Tomáš Chvátal via bug #229941
(Portage version: 2.1.4.4)
Diffstat (limited to 'games-arcade/mtp-target-bin')
-rw-r--r--games-arcade/mtp-target-bin/ChangeLog11
-rw-r--r--games-arcade/mtp-target-bin/mtp-target-bin-1.2.0.ebuild55
-rw-r--r--games-arcade/mtp-target-bin/mtp-target-bin-1.5.18.ebuild46
3 files changed, 55 insertions, 57 deletions
diff --git a/games-arcade/mtp-target-bin/ChangeLog b/games-arcade/mtp-target-bin/ChangeLog
index dfeb8adebf19..8bd0036d9d04 100644
--- a/games-arcade/mtp-target-bin/ChangeLog
+++ b/games-arcade/mtp-target-bin/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for games-arcade/mtp-target-bin
-# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/mtp-target-bin/ChangeLog,v 1.12 2006/12/01 20:47:59 wolf31o2 Exp $
+# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/mtp-target-bin/ChangeLog,v 1.13 2008/08/14 16:42:43 mr_bones_ Exp $
+
+*mtp-target-bin-1.5.18 (14 Aug 2008)
+
+ 14 Aug 2008; Michael Sterrett <mr_bones_@gentoo.org>
+ +mtp-target-bin-1.5.18.ebuild:
+ version bump - ebuild submitted by Tomáš Chvátal via bug #229941
+ Cleaned out old, broken version
01 Dec 2006; Chris Gianelloni <wolf31o2@gentoo.org>
mtp-target-bin-1.2.0.ebuild:
diff --git a/games-arcade/mtp-target-bin/mtp-target-bin-1.2.0.ebuild b/games-arcade/mtp-target-bin/mtp-target-bin-1.2.0.ebuild
deleted file mode 100644
index bd99d4a89c72..000000000000
--- a/games-arcade/mtp-target-bin/mtp-target-bin-1.2.0.ebuild
+++ /dev/null
@@ -1,55 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# 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.2.0.ebuild,v 1.8 2006/12/01 20:47:59 wolf31o2 Exp $
-
-inherit games
-
-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="amd64 x86"
-IUSE=""
-RESTRICT="strip"
-
-DEPEND=""
-RDEPEND="dev-libs/STLport
- sys-libs/zlib
- dev-libs/libxml2
- x11-libs/libXmu
- virtual/opengl
- =media-libs/freetype-2*
- media-libs/jpeg
- =dev-lang/lua-5*"
-
-S=${WORKDIR}/${MY_PN}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- find . -type d -name CVS -print0 | xargs -0 rm -r
-}
-
-src_install() {
- rm -f {client,server}/launch.sh
-
- dodir "${GAMES_PREFIX_OPT}/${PN}"
- cp -pPR "${S}/"* "${D}/${GAMES_PREFIX_OPT}"/${PN}/
-
- games_make_wrapper ${PN}-client ./client "${GAMES_PREFIX_OPT}/${PN}/client" ../lib
- games_make_wrapper ${PN}-server ./mtp_target_service "${GAMES_PREFIX_OPT}/${PN}/server" ../lib
-
- dosym /usr/lib/liblualib.so "${GAMES_PREFIX_OPT}"/${PN}/lib/liblualib50.so.5.0
- dosym /usr/lib/liblua.so "${GAMES_PREFIX_OPT}"/${PN}/lib/liblua50.so.5.0
- dosym /usr/lib/libcurl.so "${GAMES_PREFIX_OPT}"/${PN}/lib/libcurl.so.2
-
- prepgamesdirs
- cd "${D}/${GAMES_PREFIX_OPT}"/${PN}
- cp client/mtp_target{_default,}.cfg || die "client cfg"
- cp server/mtp_target_service{_default,}.cfg || die "server cfg"
- chown ${GAMES_USER}:${GAMES_GROUP} client/mtp_target.cfg server/mtp_target_service.cfg
- chmod 660 client/mtp_target.cfg server/mtp_target_service.cfg
-}
diff --git a/games-arcade/mtp-target-bin/mtp-target-bin-1.5.18.ebuild b/games-arcade/mtp-target-bin/mtp-target-bin-1.5.18.ebuild
new file mode 100644
index 000000000000..88ecf2a61747
--- /dev/null
+++ b/games-arcade/mtp-target-bin/mtp-target-bin-1.5.18.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2008 Gentoo Foundation
+# 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.5.18.ebuild,v 1.1 2008/08/14 16:42:43 mr_bones_ Exp $
+
+inherit games
+
+MY_PN=${PN/-bin}
+MY_PV=${PV/1.5./}
+
+DESCRIPTION="a Monkey Target clone (six mini-game from Super Monkey Ball)"
+HOMEPAGE="http://www.mtp-target.org/"
+SRC_URI="http://www.mtp-target.org/files/${MY_PN}-setup.${MY_PV}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+RESTRICT="strip"
+QA_TEXTRELS=${GAMES_PREFIX_OPT:1}/${PN}/lib/libfmodex.so
+QA_EXECSTACK=${GAMES_PREFIX_OPT:1}/${PN}/lib/libfmodex.so
+
+DEPEND=""
+RDEPEND="dev-libs/STLport
+ sys-libs/zlib
+ dev-libs/libxml2
+ x11-libs/libXmu
+ virtual/opengl
+ =media-libs/freetype-2*
+ media-libs/jpeg
+ dev-lang/lua"
+
+S=${WORKDIR}/${MY_PN}
+
+src_install() {
+ insinto "${GAMES_PREFIX_OPT}/${PN}/data"
+ doins -r data/* client/mtp_target_default.cfg || die "doins failed"
+ insinto "${GAMES_PREFIX_OPT}/${PN}/bin"
+ exeinto "${GAMES_PREFIX_OPT}/${PN}/bin"
+ doexe client/client
+ doins client/mtp_target_default.cfg
+ insinto "${GAMES_PREFIX_OPT}/${PN}/lib"
+ doins client/libfmodex.so
+ games_make_wrapper ${PN} ./client "${GAMES_PREFIX_OPT}/${PN}/bin" ../lib
+ prepgamesdirs
+ fperms 664 "${GAMES_PREFIX_OPT}/${PN}/bin/mtp_target_default.cfg"
+}