wok view tuxtype/receipt @ rev 24502
updated drupal (8.8.1 -> 9.3.6)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Feb 20 10:12:06 2022 +0100 (2022-02-20) |
parents | 6135577f4d08 |
children | 7c0170dd3ecc |
line source
1 # SliTaz package receipt.
3 PACKAGE="tuxtype"
4 SOURCE="tuxtype_w_fonts"
5 VERSION="1.8.1"
6 CATEGORY="games"
7 SHORT_DESC="Educational typing tutor for kids."
8 MAINTAINER="claudinei@slitaz.org"
9 LICENSE="GPL2"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://archive.wikiwix.com/cache/?url=http%3A%2F%2Ftuxtype.sourceforge.net%2F"
12 WGET_URL="https://alioth.debian.org/frs/download.php/3270/$TARBALL"
14 DEPENDS="libt4k_common libsdl librsvg libsdl-image libsdl-mixer libsdl-ttf \
15 libsdl-net libsdl-pango"
16 BUILD_DEPENDS="libt4k_common-dev libsdl-dev librsvg-dev libsdl-image-dev \
17 libsdl-mixer-dev libsdl-ttf-dev libsdl-net-dev libsdl-pango-dev wget"
18 TAGS="education"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 cd $src
24 ./configure --sysconfdir=/etc \
25 --prefix=/usr \
26 --localstatedir=/var/games
27 $CONFIGURE_ARGS &&
28 make
29 # Adding the games group satisfies the install script.
30 addgroup games
31 make DESTDIR=$DESTDIR install
32 # We don't need to leave this behind in the build environment.
33 delgroup games
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/share $fs/var/games/tuxtype/words
40 cp -a $install/usr/bin $fs/usr
41 cp -a $install/usr/share/tuxtype $fs/usr/share
43 for lang in de es fr pt; do
44 mkdir -p $fs/usr/share/locale/$lang/LC_MESSAGES
45 cp -a $install/usr/share/locale/$lang/LC_MESSAGES/tuxtype.mo \
46 $fs/usr/share/locale/$lang/LC_MESSAGES
47 done
49 cp -ar $install/usr $fs
50 }
52 post_install()
53 {
54 echo
55 echo "Adding games group if not already created:"
56 chroot "$1/" addgroup games
57 }