wok-next view tuxtype/receipt @ rev 21087

Updates...
Revert names: libsdl -> sdl, libsmpeg -> smpeg, libtdb -> tdb
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Dec 28 05:11:49 2018 +0200 (2018-12-28)
parents d5aab818505e
children 865a6b5d55a0
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 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 }