diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2004-07-10 10:22:13 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2004-07-10 10:22:13 +0000 |
commit | 4537d4b623b30645d77de4a223b8fec5a7a24056 (patch) | |
tree | 3198d7a642ec7db222bdc46c4f3738855f80fb46 /games-arcade/rocksndiamonds | |
parent | tidy (Manifest recommit) (diff) | |
download | gentoo-2-4537d4b623b30645d77de4a223b8fec5a7a24056.tar.gz gentoo-2-4537d4b623b30645d77de4a223b8fec5a7a24056.tar.bz2 gentoo-2-4537d4b623b30645d77de4a223b8fec5a7a24056.zip |
version bump; use emake; more levels (patch from Tomer Chachamu via bug #55320)
Diffstat (limited to 'games-arcade/rocksndiamonds')
-rw-r--r-- | games-arcade/rocksndiamonds/ChangeLog | 10 | ||||
-rw-r--r-- | games-arcade/rocksndiamonds/Manifest | 2 | ||||
-rw-r--r-- | games-arcade/rocksndiamonds/files/digest-rocksndiamonds-3.1.0 | 6 | ||||
-rw-r--r-- | games-arcade/rocksndiamonds/rocksndiamonds-3.1.0.ebuild | 75 |
4 files changed, 92 insertions, 1 deletions
diff --git a/games-arcade/rocksndiamonds/ChangeLog b/games-arcade/rocksndiamonds/ChangeLog index be3f601fff63..4627d7cce2ce 100644 --- a/games-arcade/rocksndiamonds/ChangeLog +++ b/games-arcade/rocksndiamonds/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for games-arcade/rocksndiamonds # Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-arcade/rocksndiamonds/ChangeLog,v 1.12 2004/06/24 22:11:17 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-arcade/rocksndiamonds/ChangeLog,v 1.13 2004/07/10 10:22:13 mr_bones_ Exp $ + +*rocksndiamonds-3.1.0 (10 Jul 2004) + + 10 Jul 2004; Michael Sterrett <mr_bones_@gentoo.org> + +rocksndiamonds-3.1.0.ebuild: + version bump + use emake + more levels (patch from Tomer Chachamu via bug #55320) *rocksndiamonds-3.0.8 (02 Apr 2004) diff --git a/games-arcade/rocksndiamonds/Manifest b/games-arcade/rocksndiamonds/Manifest index 49873594c488..6168cb08bec2 100644 --- a/games-arcade/rocksndiamonds/Manifest +++ b/games-arcade/rocksndiamonds/Manifest @@ -1,4 +1,6 @@ MD5 95017091087471f74e2a2aafbbd023aa ChangeLog 2105 MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158 MD5 84457744c400ee52d1088f204bad62ce rocksndiamonds-3.0.8.ebuild 1546 +MD5 b62c8f1753f7a74ce766d8b2d0f00ce4 rocksndiamonds-3.1.0.ebuild 1958 MD5 c0dd06c0fe32de45f69611091418a4ea files/digest-rocksndiamonds-3.0.8 194 +MD5 5754bf31f3faf0aa3505b3c3b1c0a0ee files/digest-rocksndiamonds-3.1.0 406 diff --git a/games-arcade/rocksndiamonds/files/digest-rocksndiamonds-3.1.0 b/games-arcade/rocksndiamonds/files/digest-rocksndiamonds-3.1.0 new file mode 100644 index 000000000000..e1fb5d7a2795 --- /dev/null +++ b/games-arcade/rocksndiamonds/files/digest-rocksndiamonds-3.1.0 @@ -0,0 +1,6 @@ +MD5 526af63a10a498ab7d809783fffc9ade rocksndiamonds-3.1.0.tar.gz 3004476 +MD5 ebc8e019fa9a799757d90828e242c206 BD2K3-1.0.0.zip 4715324 +MD5 9c6cbf7394e465a90af66236dc1db6f5 rockslevels-emc-1.0.tar.gz 3824268 +MD5 3af9a97e59f29995f3f7fc4da0595af6 rockslevels-sp-1.0.tar.gz 373564 +MD5 fbc250f7995c666c1c745dbaf591ce32 rockslevels-dx-1.0.tar.gz 211151 +MD5 d516ddb1378927b1600a6ecdb6cf15f1 rnd_jue-v5.zip 8816902 diff --git a/games-arcade/rocksndiamonds/rocksndiamonds-3.1.0.ebuild b/games-arcade/rocksndiamonds/rocksndiamonds-3.1.0.ebuild new file mode 100644 index 000000000000..788ab6e77a98 --- /dev/null +++ b/games-arcade/rocksndiamonds/rocksndiamonds-3.1.0.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-arcade/rocksndiamonds/rocksndiamonds-3.1.0.ebuild,v 1.1 2004/07/10 10:22:13 mr_bones_ Exp $ + +inherit flag-o-matic games + +DESCRIPTION="A Boulderdash clone" +HOMEPAGE="http://www.artsoft.org/rocksndiamonds/" +SRC_URI="http://www.artsoft.org/RELEASES/unix/rocksndiamonds/${P}.tar.gz + http://www.artsoft.org/RELEASES/rocksndiamonds/levels/BD2K3-1.0.0.zip + http://www.artsoft.org/RELEASES/unix/rocksndiamonds/levels/rockslevels-emc-1.0.tar.gz + http://www.artsoft.org/RELEASES/unix/rocksndiamonds/levels/rockslevels-sp-1.0.tar.gz + http://www.artsoft.org/RELEASES/unix/rocksndiamonds/levels/rockslevels-dx-1.0.tar.gz + http://www.jb-line.de/rnd_jue-v5.zip" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86 ppc amd64" +IUSE="X sdl" + +RDEPEND="virtual/libc + X? ( virtual/x11 ) + !sdl? ( virtual/x11 ) + sdl? ( >=media-libs/libsdl-1.2.3 + >=media-libs/sdl-mixer-1.2.4 + media-libs/sdl-net + >=media-libs/sdl-image-1.2.2 )" +DEPEND="${RDEPEND} + >=sys-apps/sed-4" + +src_unpack() { + unpack ${P}.tar.gz + cd ${S} + unpack rockslevels-emc-1.0.tar.gz + unpack rockslevels-sp-1.0.tar.gz + unpack rockslevels-dx-1.0.tar.gz + + # make it parallel-friendly. + sed -i \ + -e 's:\$(MAKE_CMD):$(MAKE) -C $(SRC_DIR):' \ + -e '/^MAKE/d' Makefile \ + || die "sed Makefile failed" + + cd levels + unpack rnd_jue-v5.zip + unpack BD2K3-1.0.0.zip +} + +src_compile() { + replace-cpu-flags i586 k6 k6-1 k6-2 + + local makeopts="RO_GAME_DIR=${GAMES_DATADIR}/${PN} RW_GAME_DIR=${GAMES_STATEDIR}/${PN}" + if use X || { ! use X && ! use sdl; } ; then + make clean || die + emake ${makeopts} OPTIONS="${CFLAGS}" x11 || die + mv rocksndiamonds{,.x11} + fi + if use sdl ; then + make clean || die + emake ${makeopts} OPTIONS="${CFLAGS}" sdl || die + mv rocksndiamonds{,.sdl} + fi +} + +src_install() { + dogamesbin rocksndiamonds.{sdl,x11} || die "dogamesbin failed" + dodir "${GAMES_DATADIR}/${PN}" + cp -R graphics levels music sounds ${D}/${GAMES_DATADIR}/${PN}/ \ + || die "cp failed" + + newman rocksndiamonds.{1,6} + dodoc CHANGES CREDITS HARDWARE README TODO docs/elements/*.txt + + prepgamesdirs +} |