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-action/tuxkart/tuxkart-0.4.0.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'games-action/tuxkart/tuxkart-0.4.0.ebuild')
-rw-r--r-- | games-action/tuxkart/tuxkart-0.4.0.ebuild | 50 |
1 files changed, 50 insertions, 0 deletions
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..bf20f3590cea --- /dev/null +++ b/games-action/tuxkart/tuxkart-0.4.0.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +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="alpha amd64 x86" +IUSE="" + +RDEPEND=">=media-libs/plib-1.8.0 + x11-libs/libX11 + x11-libs/libICE + x11-libs/libSM + x11-libs/libXext + x11-libs/libXmu + x11-libs/libXi + virtual/opengl" +DEPEND="${RDEPEND} + x11-libs/libXt" + +src_prepare() { + # 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 + fi + sed -i \ + -e "/^plib_suffix/ s/-lplibul/-lplibul -lplibjs/" \ + -e "s/-malign-double//; s/-O6//" configure || die + sed -i \ + -e "/^bindir/s/=.*/=@bindir@/" src/Makefile.in || die +} + +src_configure() { + egamesconf --datadir="${GAMES_DATADIR_BASE}" +} + +src_install() { + default + dohtml doc/*.html + rm -rf "${D}/usr/share/tuxkart/" + + prepgamesdirs +} |