wok view t2/receipt @ rev 17552

Update some post_install for install --root
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jan 30 10:17:37 2015 +0100 (2015-01-30)
parents 600aaedb561d
children 9e01bc6321ea
line source
1 # SliTaz package receipt.
3 PACKAGE="t2"
4 VERSION="8.0-rc2"
5 CATEGORY="development"
6 SHORT_DESC="System Development Environment."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.t2-project.org/"
11 WGET_URL="http://dl.t2-project.org/source/$TARBALL"
13 DEPENDS="slitaz-toolchain bash ncurses"
15 # Rules to gen a SliTaz package suitable for Tazpkg.
16 genpkg_rules()
17 {
18 mkdir -p $fs/usr/lib
19 cp -a $src $fs/usr/lib/t2
20 }
22 # Pre and post install commands for Tazpkg.
23 post_install()
24 {
25 [ -L $1/usr/bin/wget ] && tazpkg get-install wget --forced --root=${1:-/}
26 cat <<EOT
27 Now you can do:
28 # cd /usr/lib/t2
29 # scripts/Config
31 But read http://www.t2-project.org/handbook/html/t2-book.html before...
33 EOT
34 }