summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-02-12 20:48:01 +0000
committerMike Frysinger <vapier@gentoo.org>2005-02-12 20:48:01 +0000
commit92d3f9be5b714313f9c7b2d5fe9a455bd839e0e2 (patch)
tree28af282edd0a1e45a264d69132cf7a6489b4fe75 /games-arcade/mtp-target-bin
parentlove given to mtp-target-bin (diff)
downloadgentoo-2-92d3f9be5b714313f9c7b2d5fe9a455bd839e0e2.tar.gz
gentoo-2-92d3f9be5b714313f9c7b2d5fe9a455bd839e0e2.tar.bz2
gentoo-2-92d3f9be5b714313f9c7b2d5fe9a455bd839e0e2.zip
Version bump #57727 by Kåre Baastrup.
(Portage version: 2.0.51-r15)
Diffstat (limited to 'games-arcade/mtp-target-bin')
-rw-r--r--games-arcade/mtp-target-bin/ChangeLog10
-rw-r--r--games-arcade/mtp-target-bin/files/digest-mtp-target-bin-1.2.01
-rw-r--r--games-arcade/mtp-target-bin/mtp-target-bin-1.2.0.ebuild53
3 files changed, 62 insertions, 2 deletions
diff --git a/games-arcade/mtp-target-bin/ChangeLog b/games-arcade/mtp-target-bin/ChangeLog
index 78a6d2df4bfe..fedd1eac6fcd 100644
--- a/games-arcade/mtp-target-bin/ChangeLog
+++ b/games-arcade/mtp-target-bin/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-arcade/mtp-target-bin
-# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/mtp-target-bin/ChangeLog,v 1.4 2004/06/25 07:49:20 mr_bones_ Exp $
+# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/mtp-target-bin/ChangeLog,v 1.5 2005/02/12 20:48:01 vapier Exp $
+
+*mtp-target-bin-1.2.0 (12 Feb 2005)
+
+ 12 Feb 2005; Mike Frysinger <vapier@gentoo.org>
+ +mtp-target-bin-1.2.0.ebuild:
+ Version bump #57727 by Kåre Baastrup.
25 Jun 2004; Michael Sterrett <mr_bones_@gentoo.org>
-mtp-target-bin-1.0.4.ebuild:
diff --git a/games-arcade/mtp-target-bin/files/digest-mtp-target-bin-1.2.0 b/games-arcade/mtp-target-bin/files/digest-mtp-target-bin-1.2.0
new file mode 100644
index 000000000000..b27a58bf4ea0
--- /dev/null
+++ b/games-arcade/mtp-target-bin/files/digest-mtp-target-bin-1.2.0
@@ -0,0 +1 @@
+MD5 ba688abdda0cd2d1943d79ab5daac1f2 mtp-target-1.2.0.tar.bz2 13858834
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
new file mode 100644
index 000000000000..49b8ced79f9e
--- /dev/null
+++ b/games-arcade/mtp-target-bin/mtp-target-bin-1.2.0.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2005 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.1 2005/02/12 20:48:01 vapier 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=""
+
+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-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 -a "${S}/"* "${D}/${GAMES_PREFIX_OPT}"/${PN}/
+
+ games_make_wrapper ${PN}-client "${GAMES_PREFIX_OPT}/${PN}/client" ./client ../lib
+ games_make_wrapper ${PN}-server "${GAMES_PREFIX_OPT}/${PN}/server" ./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
+
+ 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
+}