diff options
author | Mike Frysinger <vapier@gentoo.org> | 2003-09-10 19:29:16 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2003-09-10 19:29:16 +0000 |
commit | f199057b8679cd2eed424fccb45361c89a133d31 (patch) | |
tree | e6ec41e59db82809cd99452c53c9efe67a3985e3 /games-action/heroes | |
parent | games action and arcade (diff) | |
download | gentoo-2-f199057b8679cd2eed424fccb45361c89a133d31.tar.gz gentoo-2-f199057b8679cd2eed424fccb45361c89a133d31.tar.bz2 gentoo-2-f199057b8679cd2eed424fccb45361c89a133d31.zip |
action games !
Diffstat (limited to 'games-action/heroes')
-rw-r--r-- | games-action/heroes/ChangeLog | 47 | ||||
-rw-r--r-- | games-action/heroes/Manifest | 3 | ||||
-rw-r--r-- | games-action/heroes/files/digest-heroes-0.21 | 4 | ||||
-rw-r--r-- | games-action/heroes/heroes-0.21.ebuild | 62 |
4 files changed, 116 insertions, 0 deletions
diff --git a/games-action/heroes/ChangeLog b/games-action/heroes/ChangeLog new file mode 100644 index 000000000000..3b05662b8871 --- /dev/null +++ b/games-action/heroes/ChangeLog @@ -0,0 +1,47 @@ +# ChangeLog for app-games/heroes +# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-action/heroes/ChangeLog,v 1.1 2003/09/10 19:29:16 vapier Exp $ + + 21 May 2003; Martin Holzer <mholzer@gentoo.org> heroes-0.21.ebuild: + Fixing typo. Closes #20412. + +*heroes-0.21 (15 Dec 2002) + + 15 Dec 2002; Mike Frysinger <vapier@gentoo.org> : + Updated ebuild and added games eclass support. + +*heroes-0.19-r2 (7 May 2002) + + 17 jul 2002; Jose Alberto Suárez López <bass@gentoo.org> heroes-0.19-r2.ebuild : + Added LICENSE, KEYWORDS. + + 17 jul 2002; Jose Alberto Suárez López <bass@gentoo.org> heroes-0.19.ebuild : + Added LICENSE, KEYWORDS. + 7 May 2002; Spider <spider@gentoo.org> heroes-0.19-r2.ebuild heroes-0.19-r1.ebuild heroes-0.19.ebuild : + + 17 jul 2002; Jose Alberto Suárez López <bass@gentoo.org> heroes-0.19-r1.ebuild : + Added LICENSE, KEYWORDS. + Fix sourceforge mirror mess + + +*heroes-0.19-r1 (27 Mar 2002) + + 27 Mar 2002; Seemant Kulleen <seemant@gentoo.org> heroes-0.19-r1.ebuild : + + man page/LFH compliance submitted by Matthew Kennedy + +*heroes-0.19 (12 Mar 2002) + + 12 Mar 2002; Seemant Kulleen <seemant@gentoo.org> heroes-0.19.ebuild : + + Added USE dependent nls compilation. + +*heroes-0.19 (1 Feb 2002) + + 1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog : + + Added initial ChangeLog which should be updated whenever the package is + updated in any way. This changelog is targetted to users. This means that the + comments should well explained and written in clean English. The details about + writing correct changelogs are explained in the skel.ChangeLog file which you + can find in the root directory of the portage repository. diff --git a/games-action/heroes/Manifest b/games-action/heroes/Manifest new file mode 100644 index 000000000000..3f955928d9fa --- /dev/null +++ b/games-action/heroes/Manifest @@ -0,0 +1,3 @@ +MD5 67d1a61f57912c8222b1bb88c7331348 ChangeLog 1710 +MD5 cf728912d6083c1c78e2faea9a5d2b04 heroes-0.21.ebuild 1576 +MD5 629b186fe097d16cc43e4748d648acf0 files/digest-heroes-0.21 286 diff --git a/games-action/heroes/files/digest-heroes-0.21 b/games-action/heroes/files/digest-heroes-0.21 new file mode 100644 index 000000000000..952f6f93ddb3 --- /dev/null +++ b/games-action/heroes/files/digest-heroes-0.21 @@ -0,0 +1,4 @@ +MD5 ec608676e2e75abdfddf8072bb3b28db heroes-0.21.tar.bz2 709079 +MD5 015a95c16998bd0900f3a6cb6e6f26ac heroes-data-1.5.tar.bz2 391970 +MD5 f23313177d7a33b1b2e8c759cfa54310 heroes-sound-tracks-1.0.tar.bz2 1245613 +MD5 1c04db6da3d98eebfb3119460701cd5b heroes-sound-effects-1.0.tar.bz2 389883 diff --git a/games-action/heroes/heroes-0.21.ebuild b/games-action/heroes/heroes-0.21.ebuild new file mode 100644 index 000000000000..91263e479d5c --- /dev/null +++ b/games-action/heroes/heroes-0.21.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-action/heroes/heroes-0.21.ebuild,v 1.1 2003/09/10 19:29:16 vapier Exp $ + +inherit games + +data_ver=1.5 +snd_trk_ver=1.0 +snd_eff_ver=1.0 +pkg_list="${P} + heroes-data-${data_ver} + heroes-sound-tracks-${snd_trk_ver} + heroes-sound-effects-${snd_eff_ver}" + +DESCRIPTION="Heroes Enjoy Riding Over Empty Slabs: similar to Tron and Nibbles" +HOMEPAGE="http://heroes.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2 + mirror://sourceforge/${PN}/${PN}-data-${data_ver}.tar.bz2 + mirror://sourceforge/${PN}/${PN}-sound-tracks-${snd_trk_ver}.tar.bz2 + mirror://sourceforge/${PN}/${PN}-sound-effects-${snd_eff_ver}.tar.bz2" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="x86" +IUSE="sdl nls" + +DEPEND="virtual/x11 + nls? ( sys-devel/gettext ) + sdl? ( media-libs/libsdl media-libs/sdl-mixer ) + ggi? ( media-libs/libggi media-libs/libgii media-libs/libmikmod )" + +S=${WORKDIR} + +pkg_setup() { + [ -z "`use sdl``use ggi`" ] \ + && die "You must have sdl or ggi in your USE variable" \ + || return 0 +} + +src_compile() { + local myconf="--disable-heroes-debug `use_enable nls`" + + if [ `use sdl` ] ; then + myconf="${myconf} --with-sdl --with-sdl-mixer" + else + myconf="${myconf} --with-ggi --with-mikmod" + fi + + for pkg in ${pkg_list} ; do + cd ${S}/${pkg} + egamesconf ${myconf} + make || die "unable to compile ${pkg}" + done +} + +src_install() { + for pkg in ${pkg_list} ; do + cd ${S}/${pkg} + make DESTDIR=${D} install || die + done + prepgamesdirs +} |