wok annotate glza/receipt @ rev 25515

Update qemu website
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 19 09:52:04 2023 +0000 (21 months ago)
parents 6e5c8ce7fb15
children 1e09c4c56491
rev   line source
pascal@24176 1 # SliTaz package receipt.
pascal@24176 2
pascal@24176 3 PACKAGE="glza"
pascal@25037 4 VERSION="0.11.4"
pascal@24176 5 CATEGORY="base-system"
pascal@24176 6 SHORT_DESC="Lossless compressor."
pascal@24176 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@24176 8 LICENSE="Apache"
pascal@24176 9 WEB_SITE="https://encode.su/threads/1909-Tree-alpha-v0-1-download?p=55433"
pascal@24176 10 TARBALL="$PACKAGE-$VERSION.zip"
pascal@25037 11 WGET_URL="https://encode.su/attachment.php?attachmentid=8099&d=1606032483"
pascal@25037 12
pascal@24176 13 TAGS="compression"
pascal@24176 14
pascal@24176 15 BUILD_DEPENDS="gcc49"
pascal@24176 16
pascal@24176 17 current_version()
pascal@24176 18 {
pascal@24176 19 wget -O - $WEB_SITE 2>/dev/null | \
pascal@24176 20 sed '/GLZA_v/!d;s|.*_v||;s|.zip.*||' | tail -n1
pascal@24176 21 }
pascal@24176 22
pascal@24176 23 # Rules to configure and make the package.
pascal@24176 24 compile_rules()
pascal@24176 25 {
pascal@24176 26 make CC=gcc-49 LDFLAGS="$LDFLAGS -lrt -lm -pthread"
pascal@24176 27 }
pascal@24176 28
pascal@24176 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@24176 30 genpkg_rules()
pascal@24176 31 {
pascal@25037 32 mkdir -p $fs/usr/bin $install/usr/share/doc
pascal@25037 33 cp -a $src/GLZA $fs/usr/bin/glza
pascal@25037 34 cp -a $src/readme.txt $install/usr/share/doc
pascal@24176 35 }