wok annotate t2/receipt @ rev 22010
updated task again (2.3.0 -> 2.5.1)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Oct 19 15:19:01 2019 +0100 (2019-10-19) |
parents | 9e01bc6321ea |
children | 934055de50e2 |
rev | line source |
---|---|
pascal@11227 | 1 # SliTaz package receipt. |
pascal@11227 | 2 |
pascal@11227 | 3 PACKAGE="t2" |
Hans-G?nter@22000 | 4 VERSION="8.0" |
pascal@11227 | 5 CATEGORY="development" |
pascal@11227 | 6 SHORT_DESC="System Development Environment." |
pascal@11227 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15590 | 8 LICENSE="GPL2" |
Hans-G?nter@22000 | 9 WEB_SITE="http://www.t2-project.org/" |
Hans-G?nter@22000 | 10 |
pascal@11227 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@11227 | 12 WGET_URL="http://dl.t2-project.org/source/$TARBALL" |
pascal@15590 | 13 |
Hans-G?nter@22000 | 14 DEPENDS="bash ncurses slitaz-toolchain" |
pascal@11227 | 15 |
pascal@11227 | 16 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11227 | 17 genpkg_rules() |
pascal@11227 | 18 { |
pascal@11227 | 19 mkdir -p $fs/usr/lib |
Hans-G?nter@22000 | 20 cp -a $src $fs/usr/lib/t2 |
pascal@11227 | 21 } |
pascal@11227 | 22 |
pascal@11227 | 23 # Pre and post install commands for Tazpkg. |
pascal@11227 | 24 post_install() |
pascal@11227 | 25 { |
pascal@18730 | 26 [ -L "$1/usr/bin/wget" ] && tazpkg get-install wget --forced --root="${1:-/}" |
pascal@11227 | 27 cat <<EOT |
pascal@11227 | 28 Now you can do: |
pascal@11227 | 29 # cd /usr/lib/t2 |
pascal@11227 | 30 # scripts/Config |
pascal@11227 | 31 |
pascal@11227 | 32 But read http://www.t2-project.org/handbook/html/t2-book.html before... |
pascal@11227 | 33 |
pascal@11227 | 34 EOT |
pascal@11227 | 35 } |