wok annotate t2/receipt @ rev 19935

Up grub2 (2.02)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Apr 30 10:12:31 2017 +0200 (2017-04-30)
parents dfef8de3d270
children 7491bbeb0220
rev   line source
pascal@11227 1 # SliTaz package receipt.
pascal@11227 2
pascal@11227 3 PACKAGE="t2"
pascal@11227 4 VERSION="8.0-rc2"
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"
pascal@11227 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@11227 10 WEB_SITE="http://www.t2-project.org/"
pascal@11227 11 WGET_URL="http://dl.t2-project.org/source/$TARBALL"
pascal@15590 12
pascal@11227 13 DEPENDS="slitaz-toolchain bash ncurses"
pascal@11227 14
pascal@11227 15 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11227 16 genpkg_rules()
pascal@11227 17 {
pascal@11227 18 mkdir -p $fs/usr/lib
pascal@11227 19 cp -a $src $fs/usr/lib/t2
pascal@11227 20 }
pascal@11227 21
pascal@11227 22 # Pre and post install commands for Tazpkg.
pascal@11227 23 post_install()
pascal@11227 24 {
pascal@18730 25 [ -L "$1/usr/bin/wget" ] && tazpkg get-install wget --forced --root="${1:-/}"
pascal@11227 26 cat <<EOT
pascal@11227 27 Now you can do:
pascal@11227 28 # cd /usr/lib/t2
pascal@11227 29 # scripts/Config
pascal@11227 30
pascal@11227 31 But read http://www.t2-project.org/handbook/html/t2-book.html before...
pascal@11227 32
pascal@11227 33 EOT
pascal@11227 34 }