summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2006-10-09 16:23:11 +0000
committerTristan Heaven <nyhm@gentoo.org>2006-10-09 16:23:11 +0000
commit76a237ba8ee552878106603e16063335d93d6ac8 (patch)
treebc5305c083cf430ad6ef596d6b8e130d2acc573d /games-arcade
parentAdded mplus-font license. (diff)
downloadgentoo-2-76a237ba8ee552878106603e16063335d93d6ac8.tar.gz
gentoo-2-76a237ba8ee552878106603e16063335d93d6ac8.tar.bz2
gentoo-2-76a237ba8ee552878106603e16063335d93d6ac8.zip
Add gtk+-1 to DEPEND
(Portage version: 2.1.2_pre2-r7)
Diffstat (limited to 'games-arcade')
-rw-r--r--games-arcade/cervi/ChangeLog7
-rw-r--r--games-arcade/cervi/cervi-0.0.3.ebuild39
-rw-r--r--games-arcade/cervi/files/digest-cervi-0.0.32
3 files changed, 26 insertions, 22 deletions
diff --git a/games-arcade/cervi/ChangeLog b/games-arcade/cervi/ChangeLog
index f0705f917dd1..29cadd30115a 100644
--- a/games-arcade/cervi/ChangeLog
+++ b/games-arcade/cervi/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-arcade/cervi
-# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/cervi/ChangeLog,v 1.4 2005/05/01 17:14:03 hansmi Exp $
+# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/cervi/ChangeLog,v 1.5 2006/10/09 16:23:11 nyhm Exp $
+
+ 09 Oct 2006; Tristan Heaven <nyhm@gentoo.org> cervi-0.0.3.ebuild:
+ Add gtk+-1 to DEPEND
01 May 2005; Michael Hanselmann <hansmi@gentoo.org> cervi-0.0.3.ebuild:
Stable on ppc.
diff --git a/games-arcade/cervi/cervi-0.0.3.ebuild b/games-arcade/cervi/cervi-0.0.3.ebuild
index eddcb0178cb9..67d3fb96e40a 100644
--- a/games-arcade/cervi/cervi-0.0.3.ebuild
+++ b/games-arcade/cervi/cervi-0.0.3.ebuild
@@ -1,48 +1,47 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/cervi/cervi-0.0.3.ebuild,v 1.6 2005/05/01 17:14:03 hansmi Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/cervi/cervi-0.0.3.ebuild,v 1.7 2006/10/09 16:23:11 nyhm Exp $
-inherit games
+inherit toolchain-funcs games
-S="${WORKDIR}/${PN}"
DESCRIPTION="A multiplayer game where players drive a worm and try not to collide with anything"
SRC_URI="http://tomi.nomi.cz/download/${P}.tar.bz2"
HOMEPAGE="http://tomi.nomi.cz/"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="x86 ppc"
+KEYWORDS="ppc x86"
IUSE=""
-RDEPEND="x11-libs/gtk+
+DEPEND="=x11-libs/gtk+-1.2*
media-sound/esound
media-sound/timidity++"
-DEPEND="${RDEPEND}
- >=sys-apps/sed-4"
+
+S=${WORKDIR}/${PN}
src_unpack() {
unpack ${A}
+ cd "${S}"
sed -i \
-e "/^CFLAGS/ s:-Wall:${CFLAGS}:" \
- -e "/^CXXFLAGS/ s:-Wall:${CXXFLAGS}:" ${S}/Makefile || \
- die "sed Makefile failed"
+ -e "/^CXXFLAGS/ s:-Wall:${CXXFLAGS}:" Makefile \
+ || die "sed Makefile failed"
}
src_compile() {
emake \
- prefix="/usr" \
+ CXX=$(tc-getCXX) \
bindir="${GAMES_BINDIR}" \
- datadir="${GAMES_DATADIR}/${PN}" || \
- die "emake failed"
+ datadir="${GAMES_DATADIR}/${PN}" \
+ || die "emake failed"
}
src_install() {
- dodir ${GAMES_BINDIR} || die "dodir failed"
- make \
- prefix=${D}/usr \
- bindir="${D}${GAMES_BINDIR}" \
- datadir="${D}${GAMES_DATADIR}/${PN}" install || \
- die "make install failed"
- dodoc AUTHORS COPYRIGHT README changelog || die "dodoc failed"
+ dodir "${GAMES_BINDIR}" || die "dodir failed"
+ emake \
+ bindir="${D}/${GAMES_BINDIR}" \
+ datadir="${D}/${GAMES_DATADIR}/${PN}" install \
+ || die "emake install failed"
+ dodoc AUTHORS changelog README
prepgamesdirs
}
diff --git a/games-arcade/cervi/files/digest-cervi-0.0.3 b/games-arcade/cervi/files/digest-cervi-0.0.3
index 9d85c1fe2be3..2d3a12f6fdca 100644
--- a/games-arcade/cervi/files/digest-cervi-0.0.3
+++ b/games-arcade/cervi/files/digest-cervi-0.0.3
@@ -1 +1,3 @@
MD5 f8749dcad35d56ac17503ef73d11e312 cervi-0.0.3.tar.bz2 21699
+RMD160 f28364318da43cbc2cc66ab127e2dd11f7d0fac4 cervi-0.0.3.tar.bz2 21699
+SHA256 947411f0139d292454ec4521565dfe31f3f0c5e12f62eb4f4a74075a9fb86556 cervi-0.0.3.tar.bz2 21699