summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2005-02-18 16:03:14 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2005-02-18 16:03:14 +0000
commite86e25657ad1abd6879a5765f2a4e105edf59b57 (patch)
tree36fd301d45363b6466b8d7a8b0c401d47e14c25a /games-puzzle/lmarbles/lmarbles-1.0.7.ebuild
parentmarked old version stable, added new upstream release. fixes #82373 (diff)
downloadgentoo-2-e86e25657ad1abd6879a5765f2a4e105edf59b57.tar.gz
gentoo-2-e86e25657ad1abd6879a5765f2a4e105edf59b57.tar.bz2
gentoo-2-e86e25657ad1abd6879a5765f2a4e105edf59b57.zip
version bump (bug #82445)
(Portage version: 2.0.51-r15)
Diffstat (limited to 'games-puzzle/lmarbles/lmarbles-1.0.7.ebuild')
-rw-r--r--games-puzzle/lmarbles/lmarbles-1.0.7.ebuild39
1 files changed, 39 insertions, 0 deletions
diff --git a/games-puzzle/lmarbles/lmarbles-1.0.7.ebuild b/games-puzzle/lmarbles/lmarbles-1.0.7.ebuild
new file mode 100644
index 000000000000..1b6e1794be66
--- /dev/null
+++ b/games-puzzle/lmarbles/lmarbles-1.0.7.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/lmarbles/lmarbles-1.0.7.ebuild,v 1.1 2005/02/18 16:03:14 mr_bones_ Exp $
+
+inherit games
+
+DESCRIPTION="puzzle game inspired by Atomix and written in SDL"
+HOMEPAGE="http://lgames.sourceforge.net/index.php?project=LMarbles"
+SRC_URI="mirror://sourceforge/lgames/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE=""
+
+DEPEND=">=media-libs/libsdl-1.2.4
+ >=media-libs/sdl-mixer-1.2.3"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ sed -i \
+ -e '/^inst_dir/s:/games::' \
+ -e "/^prf_dir/s:/var/lib/games:${GAMES_STATEDIR}:" configure \
+ || die "sed configure failed"
+ sed -i \
+ -e '/c_pth, strlen/s:strlen:sizeof:' src/cfg.c \
+ || die "sed src/cfg.c failed"
+ sed -i \
+ -e 's:/marbles.prfs:/lmarbles.prfs:' \
+ src/Makefile.in src/lmarbles.6 \
+ || die "sed marbles/lmarbles failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed"
+ dodoc AUTHORS ChangeLog README TODO
+ prepgamesdirs
+}