wok-next view tuxtype/receipt @ rev 21715

Up cookutils (1146)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jul 28 07:53:22 2020 +0000 (2020-07-28)
parents 865a6b5d55a0
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="tuxtype"
4 VERSION="1.8.1"
5 CATEGORY="games"
6 SHORT_DESC="Educational typing tutor for kids"
7 MAINTAINER="claudinei@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://archive.wikiwix.com/cache/?url=http%3A%2F%2Ftuxtype.sourceforge.net%2F"
11 TARBALL="tuxtype_w_fonts-$VERSION.tar.gz"
12 WGET_URL="https://alioth.debian.org/frs/download.php/3270/$TARBALL"
14 BUILD_DEPENDS="libt4k_common-dev sdl-dev librsvg-dev sdl-image-dev \
15 sdl-mixer-dev sdl-ttf-dev sdl-net-dev sdl-pango-dev"
17 compile_rules() {
18 ./configure \
19 --localstatedir=/var/games \
20 $CONFIGURE_ARGS &&
21 make || return 1
23 # Adding the games group satisfies the install script.
24 addgroup games
25 make DESTDIR=$install install
26 # We don't need to leave this behind in the build environment.
27 delgroup games
28 }
30 genpkg_rules() {
31 copy @std *.mo
32 DEPENDS="libt4k_common sdl librsvg sdl-image sdl-mixer sdl-ttf \
33 sdl-net sdl-pango"
34 TAGS="education"
35 }
37 post_install() {
38 chroot "$1/" addgroup games
39 }