diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /games-puzzle/wizznic/wizznic-369.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'games-puzzle/wizznic/wizznic-369.ebuild')
-rw-r--r-- | games-puzzle/wizznic/wizznic-369.ebuild | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/games-puzzle/wizznic/wizznic-369.ebuild b/games-puzzle/wizznic/wizznic-369.ebuild new file mode 100644 index 000000000000..be178a846336 --- /dev/null +++ b/games-puzzle/wizznic/wizznic-369.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils games + +DESCRIPTION="Block-clearing puzzle game" +HOMEPAGE="http://wizznic.org/" +SRC_URI="mirror://sourceforge/wizznic/Wizznic_src_build_${PV}.tar.bz2" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND="media-libs/libsdl[sound,joystick,opengl,video] + media-libs/sdl-image[png] + media-libs/sdl-mixer[vorbis] + virtual/opengl" +RDEPEND=${DEPEND} + +S=${WORKDIR}/Wizznic_src_build_${PV} + +src_prepare() { + sed \ + -e '/^\(CC\|LD\|STRIP\)/d' \ + -e 's/(LD)/(CC)/g' \ + -e '/CFLAGS.*=/d' \ + Makefile.linux > Makefile || die +} + +src_compile() { + emake \ + DATADIR="${GAMES_DATADIR}/${PN}/" \ + BINDIR="${GAMES_BINDIR}" \ + STRIP=true +} + +src_install() { + emake \ + DESTDIR="${D}" \ + DATADIR="${GAMES_DATADIR}/${PN}/" \ + BINDIR="${GAMES_BINDIR}" \ + install + dodoc doc/{changelog.txt,credits.txt,media-licenses.txt,ports.txt,readme.txt} + newicon data/wmicon.png ${PN}.png + make_desktop_entry wizznic "Wizznic!" + prepgamesdirs +} |