wok annotate tazlito/receipt @ rev 24691
updated jpeg-turbo, libjpeg-turbo and libjpeg-turbo-dev (2.0.4 -> 2.1.3)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Mar 12 15:29:40 2022 +0100 (2022-03-12) |
parents | e6fa7b2baedd |
children | 81a0a7a51fa6 |
rev | line source |
---|---|
pankso@10 | 1 # SliTaz package receipt. |
pankso@10 | 2 |
pankso@10 | 3 PACKAGE="tazlito" |
pascal@24584 | 4 VERSION="534" |
pankso@211 | 5 CATEGORY="base-system" |
pankso@10 | 6 SHORT_DESC="SliTaz Live Tool." |
pascal@10945 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15021 | 8 LICENSE="GPL3" |
pankso@10 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@10 | 10 WEB_SITE="http://www.slitaz.org/" |
pascal@13990 | 11 WGET_URL="http://hg.slitaz.org/tazlito/archive/$VERSION.tar.gz" |
pascal@20682 | 12 CONFIG_FILES="/etc/tazlito" |
jozee@4973 | 13 TAGS="slitaz" |
pankso@10 | 14 |
pankso@12138 | 15 DEPENDS="lzma cdrkit" |
pascal@18015 | 16 SUGGESTED="tazpanel" |
pascal@15613 | 17 BUILD_DEPENDS="gettext" |
pankso@12138 | 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 |
pankso@12138 | 26 # Rules to configure and make the package. |
pankso@12138 | 27 compile_rules() |
pankso@12138 | 28 { |
pascal@19243 | 29 sed -i "s/^VERSION=.*/VERSION=$VERSION/" tazlito |
pascal@17427 | 30 make DESTDIR=$DESTDIR VERSION=$VERSION install |
pankso@12138 | 31 } |
pankso@12138 | 32 |
pankso@10 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@10 | 34 genpkg_rules() |
pankso@10 | 35 { |
pankso@12138 | 36 mkdir -p $fs |
pankso@12138 | 37 cp -a $install/* $fs |
pankso@12138 | 38 chown -R root.root $fs |
pascal@21601 | 39 chmod 755 $fs/usr/bin/tazlito* |
pascal@24166 | 40 sed 's|.*boot/grub|#&|' -i $fs/usr/bin/tazlito* # keep splash.xpm.gz for tazinst |
pascal@20682 | 41 # Declare /etc/tazlito/distro-packages.list & /etc/tazlito/tazlito.conf |
pascal@20682 | 42 touch $fs/etc/tazlito/tazlito.conf |
pascal@693 | 43 touch $fs/etc/tazlito/distro-packages.list |
pankso@10 | 44 } |