wok-next annotate 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
rev   line source
al@20534 1 # SliTaz package receipt v2.
claudinei@3313 2
claudinei@3313 3 PACKAGE="tuxtype"
samuel_trassare@11760 4 VERSION="1.8.1"
claudinei@3313 5 CATEGORY="games"
al@20534 6 SHORT_DESC="Educational typing tutor for kids"
claudinei@3313 7 MAINTAINER="claudinei@slitaz.org"
pascal@15590 8 LICENSE="GPL2"
al@21020 9 WEB_SITE="http://tux4kids.alioth.debian.org/"
al@20534 10
al@20534 11 TARBALL="tuxtype_w_fonts-$VERSION.tar.gz"
samuel_trassare@11760 12 WGET_URL="https://alioth.debian.org/frs/download.php/3270/$TARBALL"
pascal@15590 13
samuel_trassare@11760 14 BUILD_DEPENDS="libt4k_common-dev libsdl-dev librsvg-dev libsdl-image-dev \
al@20534 15 libsdl-mixer-dev libsdl-ttf-dev libsdl-net-dev libsdl-pango-dev"
claudinei@3313 16
al@20534 17 compile_rules() {
al@20534 18 ./configure \
samuel_trassare@11760 19 --localstatedir=/var/games
claudinei@3313 20 $CONFIGURE_ARGS &&
al@20534 21 make || return 1
al@20534 22
samuel_trassare@11760 23 # Adding the games group satisfies the install script.
al@20534 24 addgroup games
al@21020 25 make DESTDIR=$install install
samuel_trassare@11760 26 # We don't need to leave this behind in the build environment.
samuel_trassare@11760 27 delgroup games
claudinei@3313 28 }
claudinei@3313 29
al@20534 30 genpkg_rules() {
al@20534 31 copy @std *.mo
al@20534 32 DEPENDS="libt4k_common libsdl librsvg libsdl-image libsdl-mixer libsdl-ttf \
al@20534 33 libsdl-net libsdl-pango"
al@20534 34 TAGS="education"
claudinei@3313 35 }
claudinei@3313 36
al@20534 37 post_install() {
pascal@17552 38 chroot "$1/" addgroup games
samuel_trassare@11760 39 }