summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2004-06-19 08:23:14 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2004-06-19 08:23:14 +0000
commit21ce2cd76ab2ace4da46e9728784da04a29fd5b4 (patch)
tree39c50b71598604951d87c6d6febb91fecdd8d18a /games-action/tuxkart
parentStable on sparc. (Manifest recommit) (diff)
downloadgentoo-2-21ce2cd76ab2ace4da46e9728784da04a29fd5b4.tar.gz
gentoo-2-21ce2cd76ab2ace4da46e9728784da04a29fd5b4.tar.bz2
gentoo-2-21ce2cd76ab2ace4da46e9728784da04a29fd5b4.zip
version bump (bug #49206)
Diffstat (limited to 'games-action/tuxkart')
-rw-r--r--games-action/tuxkart/ChangeLog8
-rw-r--r--games-action/tuxkart/Manifest6
-rw-r--r--games-action/tuxkart/files/digest-tuxkart-0.4.01
-rw-r--r--games-action/tuxkart/tuxkart-0.2.0.ebuild25
-rw-r--r--games-action/tuxkart/tuxkart-0.4.0.ebuild53
5 files changed, 78 insertions, 15 deletions
diff --git a/games-action/tuxkart/ChangeLog b/games-action/tuxkart/ChangeLog
index 0a1ef9579c25..ef6f3ef1e589 100644
--- a/games-action/tuxkart/ChangeLog
+++ b/games-action/tuxkart/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-action/tuxkart
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/tuxkart/ChangeLog,v 1.7 2004/04/19 20:55:44 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/tuxkart/ChangeLog,v 1.8 2004/06/19 08:23:14 mr_bones_ Exp $
+
+*tuxkart-0.4.0 (19 Jun 2004)
+
+ 19 Jun 2004; Michael Sterrett <mr_bones_@gentoo.org> tuxkart-0.2.0.ebuild,
+ tuxkart-0.4.0.ebuild:
+ version bump (bug #49206)
19 Apr 2004; Chris Gianelloni <wolf31o2@gentoo.org> tuxkart-0.2.0.ebuild:
Added IUSE.
diff --git a/games-action/tuxkart/Manifest b/games-action/tuxkart/Manifest
index 36056fea8a2e..315b6f95ebab 100644
--- a/games-action/tuxkart/Manifest
+++ b/games-action/tuxkart/Manifest
@@ -1,6 +1,8 @@
-MD5 72bc59b3868c4b791ac1c3ffc42f0724 tuxkart-0.2.0.ebuild 1183
MD5 6eefc72d14083ea0bf97d730f2a7f451 ChangeLog 1219
+MD5 c6189a15ef8f0c5c7bb64715f5c33f5e tuxkart-0.2.0.ebuild 1187
MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
+MD5 c6189a15ef8f0c5c7bb64715f5c33f5e tuxkart-0.4.0.ebuild 1187
+MD5 76092330956e7936fb1592369d1c50ca files/01tuxkart.patch 1511
MD5 380a5cbfb8e3d45e611b596d13e12d6e files/digest-tuxkart-0.2.0 66
MD5 68f9a79d349365dca5a7ede4b35685dc files/tuxkart-0.2.0-alpha.patch 352
-MD5 76092330956e7936fb1592369d1c50ca files/01tuxkart.patch 1511
+MD5 2e394e321259b9169e46f2f9836582dc files/digest-tuxkart-0.4.0 66
diff --git a/games-action/tuxkart/files/digest-tuxkart-0.4.0 b/games-action/tuxkart/files/digest-tuxkart-0.4.0
new file mode 100644
index 000000000000..60a82a41a9e7
--- /dev/null
+++ b/games-action/tuxkart/files/digest-tuxkart-0.4.0
@@ -0,0 +1 @@
+MD5 e84ab2748ff1ce5ef11d1d7da5188f8f tuxkart-0.4.0.tar.gz 4932535
diff --git a/games-action/tuxkart/tuxkart-0.2.0.ebuild b/games-action/tuxkart/tuxkart-0.2.0.ebuild
index 905fbdb733b5..704e9e6b2b70 100644
--- a/games-action/tuxkart/tuxkart-0.2.0.ebuild
+++ b/games-action/tuxkart/tuxkart-0.2.0.ebuild
@@ -1,15 +1,15 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/tuxkart/tuxkart-0.2.0.ebuild,v 1.7 2004/04/19 20:55:44 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/tuxkart/tuxkart-0.2.0.ebuild,v 1.8 2004/06/19 08:23:14 mr_bones_ Exp $
-inherit games eutils
+inherit eutils games
DESCRIPTION="A racing game starring Tux, the linux penguin"
-SRC_URI="mirror://sourceforge/tuxkart/${P}.tar.gz"
HOMEPAGE="http://tuxkart.sourceforge.net"
+SRC_URI="mirror://sourceforge/tuxkart/${P}.tar.gz"
-SLOT="0"
LICENSE="GPL-2"
+SLOT="0"
KEYWORDS="x86 alpha amd64"
IUSE=""
@@ -21,27 +21,28 @@ DEPEND=">=media-libs/plib-1.6.0
src_unpack() {
unpack ${A}
- epatch ${FILESDIR}/01tuxkart.patch
+ epatch "${FILESDIR}/01tuxkart.patch"
# apparently <sys/perm.h> doesn't exist on alpha
if use alpha; then
- epatch ${FILESDIR}/tuxkart-0.2.0-alpha.patch
+ epatch "${FILESDIR}/tuxkart-0.2.0-alpha.patch"
fi
sed -i \
- -e "s/-malign-double//; s/-O6//" ${S}/configure || \
- die "sed configure failed"
+ -e "/^plib_suffix/ s/-lplibul/-lplibul -lplibjs/" \
+ -e "s/-malign-double//; s/-O6//" "${S}/configure" \
+ || die "sed configure failed"
}
src_compile() {
- egamesconf --datadir=${GAMES_DATADIR_BASE} || die
+ egamesconf --datadir="${GAMES_DATADIR_BASE}" || die
emake || die "emake failed"
}
src_install() {
- make DESTDIR="${D}" install || die "make install failed"
- dodoc AUTHORS CHANGES README || die "dodoc failed"
- dohtml doc/*.html || die "dohtml failed"
+ make DESTDIR="${D}" install || die "make install failed"
+ dodoc AUTHORS CHANGES README
+ dohtml doc/*.html
rm -rf "${D}/usr/share/tuxkart/"
prepgamesdirs
diff --git a/games-action/tuxkart/tuxkart-0.4.0.ebuild b/games-action/tuxkart/tuxkart-0.4.0.ebuild
new file mode 100644
index 000000000000..02f31516f185
--- /dev/null
+++ b/games-action/tuxkart/tuxkart-0.4.0.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-action/tuxkart/tuxkart-0.4.0.ebuild,v 1.1 2004/06/19 08:23:14 mr_bones_ Exp $
+
+inherit games
+
+DESCRIPTION="A racing game starring Tux, the linux penguin"
+HOMEPAGE="http://tuxkart.sourceforge.net"
+SRC_URI="mirror://sourceforge/tuxkart/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~alpha ~amd64"
+IUSE=""
+
+RDEPEND=">=media-libs/plib-1.8.0
+ virtual/x11
+ virtual/opengl"
+DEPEND="${RDEPEND}
+ >=sys-apps/sed-4"
+
+src_unpack() {
+ unpack ${A}
+
+ cd ${S}
+ # apparently <sys/perm.h> doesn't exist on alpha
+ if use alpha; then
+ sed -i \
+ -e '/#include <sys\/perm.h>/d' src/gfx.cxx \
+ || die "sed src/gfx.cxx failed"
+ fi
+ sed -i \
+ -e "/^plib_suffix/ s/-lplibul/-lplibul -lplibjs/" \
+ -e "s/-malign-double//; s/-O6//" configure \
+ || die "sed configure failed"
+ sed -i \
+ -e "/^bindir/s/=.*/=@bindir@/" src/Makefile.in \
+ || die "sed src/Makefile.in failed"
+}
+
+src_compile() {
+ egamesconf --datadir="${GAMES_DATADIR_BASE}" || die
+ emake || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed"
+ dodoc AUTHORS CHANGES README
+ dohtml doc/*.html
+ rm -rf "${D}/usr/share/tuxkart/"
+
+ prepgamesdirs
+}