wok-next annotate tuxtype/receipt @ rev 21648
updated fetchmail (6.3.26 -> 6.4.8)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jun 26 17:32:09 2020 +0100 (2020-06-26) |
parents | 865a6b5d55a0 |
children |
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" |
pascal@21146 | 9 WEB_SITE="http://archive.wikiwix.com/cache/?url=http%3A%2F%2Ftuxtype.sourceforge.net%2F" |
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 |
al@21087 | 14 BUILD_DEPENDS="libt4k_common-dev sdl-dev librsvg-dev sdl-image-dev \ |
al@21087 | 15 sdl-mixer-dev sdl-ttf-dev sdl-net-dev sdl-pango-dev" |
claudinei@3313 | 16 |
al@20534 | 17 compile_rules() { |
al@20534 | 18 ./configure \ |
al@21148 | 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@21087 | 32 DEPENDS="libt4k_common sdl librsvg sdl-image sdl-mixer sdl-ttf \ |
al@21087 | 33 sdl-net sdl-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 } |