wok-next view tuxtype/receipt @ rev 20983
Small updates
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Sep 28 13:48:52 2018 +0300 (2018-09-28) |
parents | dfef8de3d270 |
children | d5aab818505e |
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=$DESTDIR 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 }