wok annotate t2/receipt @ rev 25680

updated gnu-efi (3.0.14 -> 3.0.17)
author Hans-G?nter Theisgen
date Mon Mar 18 18:46:02 2024 +0100 (8 months ago)
parents 7491bbeb0220
children
rev   line source
pascal@11227 1 # SliTaz package receipt.
pascal@11227 2
pascal@11227 3 PACKAGE="t2"
Hans-G?nter@22000 4 VERSION="8.0"
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"
Hans-G?nter@22000 9 WEB_SITE="http://www.t2-project.org/"
Hans-G?nter@22000 10
pascal@11227 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@11227 12 WGET_URL="http://dl.t2-project.org/source/$TARBALL"
pascal@15590 13
Hans-G?nter@22000 14 DEPENDS="bash ncurses slitaz-toolchain"
pascal@11227 15
pascal@24462 16 # What is the latest version available today?
pascal@24462 17 current_version()
pascal@24462 18 {
pascal@24462 19 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
pascal@24462 20 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
pascal@24462 21 }
pascal@24462 22
pascal@11227 23 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11227 24 genpkg_rules()
pascal@11227 25 {
pascal@11227 26 mkdir -p $fs/usr/lib
Hans-G?nter@22000 27 cp -a $src $fs/usr/lib/t2
pascal@11227 28 }
pascal@11227 29
pascal@11227 30 # Pre and post install commands for Tazpkg.
pascal@11227 31 post_install()
pascal@11227 32 {
pascal@18730 33 [ -L "$1/usr/bin/wget" ] && tazpkg get-install wget --forced --root="${1:-/}"
pascal@11227 34 cat <<EOT
pascal@11227 35 Now you can do:
pascal@11227 36 # cd /usr/lib/t2
pascal@11227 37 # scripts/Config
pascal@11227 38
pascal@11227 39 But read http://www.t2-project.org/handbook/html/t2-book.html before...
pascal@11227 40
pascal@11227 41 EOT
pascal@11227 42 }