wok diff slitaz-boot-scripts/receipt @ rev 24095

Add jpegoptim
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Sep 01 14:04:21 2021 +0000 (2021-09-01)
parents 895d209fd1dd
children 2ac466d9d0a7
line diff
     1.1 --- a/slitaz-boot-scripts/receipt	Thu May 27 13:42:59 2021 +0000
     1.2 +++ b/slitaz-boot-scripts/receipt	Wed Sep 01 14:04:21 2021 +0000
     1.3 @@ -20,6 +20,13 @@
     1.4  # Needed to fetch the keymaps and test the filesystem.
     1.5  DEPENDS="kbd-base e2fsprogs busybox slitaz-tools"
     1.6  
     1.7 +current_version()
     1.8 +{
     1.9 +	wget -O - http://hg.slitaz.org/$PACKAGE/ 2>/dev/null | \
    1.10 +	sed '/^Changeset/!d;s|.*">|http://hg.slitaz.org/'$PACKAGE'/rev/|;s|<.*||' | \
    1.11 +	xargs wget -O - 2>/dev/null | sed '/rev /!d;s|.*rev ||;s| .*||'
    1.12 +}
    1.13 +
    1.14  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.15  #
    1.16  # This package is all build by genpkg, it provide the boot scripts found