wok annotate t2/receipt @ rev 12227
Up: perl-archive-zip(1.30)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Mon Apr 09 10:50:29 2012 +0200 (2012-04-09) |
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 } |