summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAustin English <wizardedit@gentoo.org>2016-07-18 15:01:12 -0500
committerAustin English <wizardedit@gentoo.org>2016-07-18 15:01:45 -0500
commit0b5fc6d4d3b4dd1ed50cccdb766a980716b946f0 (patch)
treeb852057d11daea57c6f51eccffb0193c01e264e2 /games-kids/tuxtype
parentapp-admin/mcollective: add ruby21, ruby22, ruby23 (diff)
downloadgentoo-0b5fc6d4d3b4dd1ed50cccdb766a980716b946f0.tar.gz
gentoo-0b5fc6d4d3b4dd1ed50cccdb766a980716b946f0.tar.bz2
gentoo-0b5fc6d4d3b4dd1ed50cccdb766a980716b946f0.zip
games-kids/tuxtype: remove deprecated games eclass
Also update to EAPI 6 Gentoo-Bug: https://bugs.gentoo.org/574082 Package-Manager: portage-2.3.0
Diffstat (limited to 'games-kids/tuxtype')
-rw-r--r--games-kids/tuxtype/tuxtype-1.8.1-r1.ebuild47
1 files changed, 47 insertions, 0 deletions
diff --git a/games-kids/tuxtype/tuxtype-1.8.1-r1.ebuild b/games-kids/tuxtype/tuxtype-1.8.1-r1.ebuild
new file mode 100644
index 000000000000..33486575863a
--- /dev/null
+++ b/games-kids/tuxtype/tuxtype-1.8.1-r1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit eutils user
+
+DESCRIPTION="Typing tutorial with lots of eye-candy"
+HOMEPAGE="http://alioth.debian.org/projects/tux4kids/"
+SRC_URI="http://alioth.debian.org/frs/download.php/3270/tuxtype_w_fonts-${PV}.tar.gz"
+
+LICENSE="GPL-2 OFL-1.1"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="svg"
+
+DEPEND="media-libs/libsdl[video]
+ media-libs/sdl-image
+ media-libs/sdl-mixer
+ media-libs/sdl-pango
+ media-libs/sdl-ttf
+ svg? ( gnome-base/librsvg )"
+RDEPEND=${DEPEND}
+
+S=${WORKDIR}/tuxtype_w_fonts-${PV}
+
+pkg_setup(){
+ enewgroup gamestat 36
+}
+
+src_configure() {
+ econf \
+ --localedir=/usr/share/locale \
+ $(use_with svg rsvg)
+}
+
+src_install() {
+ default
+ rm -f "${D}"/usr/share/doc/${PF}/{COPYING,INSTALL,ABOUT-NLS}*
+ doicon ${PN}.ico
+ make_desktop_entry ${PN} TuxTyping /usr/share/pixmaps/${PN}.ico
+ keepdir /etc/${PN} /var/games/${PN}/words
+
+ fowners root:gamestat /var/games/${PN} /usr/bin/${PN}
+ fperms 660 /var/games/${PN}
+ fperms 2755 /usr/bin/${PN}
+}