wok-next diff t2/receipt @ rev 13782

Up tazpkg (5.1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jan 04 17:20:57 2013 +0100 (2013-01-04)
parents
children 600aaedb561d
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/t2/receipt	Fri Jan 04 17:20:57 2013 +0100
     1.3 @@ -0,0 +1,38 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="t2"
     1.7 +VERSION="8.0-rc2"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="System Development Environment."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.12 +WEB_SITE="http://www.t2-project.org/"
    1.13 +WGET_URL="http://dl.t2-project.org/source/$TARBALL"
    1.14 +DEPENDS="slitaz-toolchain bash ncurses"
    1.15 +
    1.16 +# Rules to configure and make the package.
    1.17 +compile_rules()
    1.18 +{
    1.19 +	true
    1.20 +}
    1.21 +
    1.22 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.23 +genpkg_rules()
    1.24 +{
    1.25 +	mkdir -p $fs/usr/lib
    1.26 +	cp -a $src $fs/usr/lib/t2
    1.27 +}
    1.28 +
    1.29 +# Pre and post install commands for Tazpkg.
    1.30 +post_install()
    1.31 +{
    1.32 +	[ -L /usr/bin/wget ] && tazpkg get-install wget --forced
    1.33 +	cat <<EOT
    1.34 +Now you can do:
    1.35 +# cd /usr/lib/t2
    1.36 +# scripts/Config
    1.37 +
    1.38 +But read http://www.t2-project.org/handbook/html/t2-book.html before...
    1.39 +
    1.40 +EOT
    1.41 +}