wok annotate t2/receipt @ rev 12285
Up: linux (3.2.14) Let play with the kernel :-)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Apr 15 16:27:00 2012 +0200 (2012-04-15) |
parents | |
children | 600aaedb561d |
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@11227 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@11227 | 9 WEB_SITE="http://www.t2-project.org/" |
pascal@11227 | 10 WGET_URL="http://dl.t2-project.org/source/$TARBALL" |
pascal@11227 | 11 DEPENDS="slitaz-toolchain bash ncurses" |
pascal@11227 | 12 |
pascal@11227 | 13 # Rules to configure and make the package. |
pascal@11227 | 14 compile_rules() |
pascal@11227 | 15 { |
pascal@11227 | 16 true |
pascal@11227 | 17 } |
pascal@11227 | 18 |
pascal@11227 | 19 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11227 | 20 genpkg_rules() |
pascal@11227 | 21 { |
pascal@11227 | 22 mkdir -p $fs/usr/lib |
pascal@11227 | 23 cp -a $src $fs/usr/lib/t2 |
pascal@11227 | 24 } |
pascal@11227 | 25 |
pascal@11227 | 26 # Pre and post install commands for Tazpkg. |
pascal@11227 | 27 post_install() |
pascal@11227 | 28 { |
pascal@11227 | 29 [ -L /usr/bin/wget ] && tazpkg get-install wget --forced |
pascal@11227 | 30 cat <<EOT |
pascal@11227 | 31 Now you can do: |
pascal@11227 | 32 # cd /usr/lib/t2 |
pascal@11227 | 33 # scripts/Config |
pascal@11227 | 34 |
pascal@11227 | 35 But read http://www.t2-project.org/handbook/html/t2-book.html before... |
pascal@11227 | 36 |
pascal@11227 | 37 EOT |
pascal@11227 | 38 } |