wok-next view tuxtype/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents 757d032c55c7
children 0f2575775b2d
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://tux4kids.alioth.debian.org/"
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 libsdl-dev librsvg-dev libsdl-image-dev \
15 libsdl-mixer-dev libsdl-ttf-dev libsdl-net-dev libsdl-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 libsdl librsvg libsdl-image libsdl-mixer libsdl-ttf \
33 libsdl-net libsdl-pango"
34 TAGS="education"
35 }
37 post_install() {
38 chroot "$1/" addgroup games
39 }