wok annotate tazinst/receipt @ rev 24299

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jan 15 15:21:40 2022 +0000 (2022-01-15)
parents c01e114d2800
children
rev   line source
domcox@14055 1 # SliTaz package receipt.
domcox@14055 2
domcox@14055 3 PACKAGE="tazinst"
pascal@24133 4 VERSION="115"
domcox@14055 5 CATEGORY="base-system"
al@18235 6 SHORT_DESC="SliTaz installer"
domcox@14055 7 MAINTAINER="domcox@slitaz.org"
pascal@15021 8 LICENSE="GPL3"
domcox@14055 9 SUGGESTED="syslinux syslinux-extra syslinux-modules grub4dos-linux"
domcox@14055 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
domcox@14055 11 WEB_SITE="http://www.slitaz.org/"
domcox@14055 12 WGET_URL="http://hg.slitaz.org/tazinst/archive/$VERSION.tar.bz2"
domcox@14055 13 TAGS="slitaz"
domcox@14055 14
pascal@23944 15 DEPENDS="util-linux-blkid lzma parted efibootmgr"
pascal@18015 16 SUGGESTED="tazpanel"
al@19617 17 SIBLINGS="tazinst-gui"
pascal@15021 18
pascal@24069 19 current_version()
pascal@24069 20 {
pascal@24069 21 wget -O - http://hg.slitaz.org/$PACKAGE/ 2>/dev/null | \
pascal@24069 22 sed '/^Changeset/!d;s|.*">|http://hg.slitaz.org/'$PACKAGE'/rev/|;s|<.*||' | \
pascal@24069 23 xargs wget -O - 2>/dev/null | sed '/rev /!d;s|.*rev ||;s| .*||'
pascal@24069 24 }
pascal@24069 25
domcox@14055 26 # Rules to configure and make the package.
domcox@14055 27 compile_rules()
domcox@14055 28 {
al@18235 29 make &&
pascal@17431 30 make DESTDIR=$DESTDIR VERSION=$VERSION install
domcox@14055 31 }
domcox@14055 32
domcox@14055 33 # Rules to gen a SliTaz package suitable for Tazpkg.
domcox@14055 34 #
domcox@14055 35 genpkg_rules()
domcox@14055 36 {
domcox@14055 37 mkdir -p $fs/usr/share
domcox@14055 38 cp -a $install/etc $fs
domcox@14055 39 cp -a $install/usr/sbin $fs/usr
domcox@14055 40 cp -a $install/usr/share/doc $fs/usr/share
domcox@14055 41 cp -a $install/usr/share/locale $fs/usr/share
domcox@14055 42 chmod 0644 $fs/usr/share/locale/*/*/*.mo
domcox@14055 43 chown -R root.root $fs
domcox@14055 44 # remove tazinst-gui locales
domcox@14055 45 cd $fs/usr/share/locale
domcox@14055 46 for lang in *; do
pascal@18199 47 rm -f $lang/*/installer.mo
domcox@14055 48 done
domcox@14055 49 }