wok-6.x annotate t2/receipt @ rev 23757
fusecloop/extract_compressed_fs: fix v2 convertion
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat May 02 17:31:45 2020 +0000 (2020-05-02) |
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 } |