wok annotate glza/receipt @ rev 25808

created recipe for xmenu
author Hans-G?nter Theisgen
date Thu Dec 19 16:09:37 2024 +0100 (5 days ago)
parents 7ae189994f37
children
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@25610 9 WEB_SITE="https://encode.su/threads/1909-Tree-alpha-v0-1-download/page30"
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@25610 17 # What is the latest version available today?
pascal@24176 18 current_version()
pascal@24176 19 {
pascal@24176 20 wget -O - $WEB_SITE 2>/dev/null | \
pascal@24176 21 sed '/GLZA_v/!d;s|.*_v||;s|.zip.*||' | tail -n1
pascal@24176 22 }
pascal@24176 23
pascal@24176 24 # Rules to configure and make the package.
pascal@24176 25 compile_rules()
pascal@24176 26 {
pascal@24176 27 make CC=gcc-49 LDFLAGS="$LDFLAGS -lrt -lm -pthread"
pascal@24176 28 }
pascal@24176 29
pascal@24176 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@24176 31 genpkg_rules()
pascal@24176 32 {
pascal@25037 33 mkdir -p $fs/usr/bin $install/usr/share/doc
pascal@25037 34 cp -a $src/GLZA $fs/usr/bin/glza
pascal@25037 35 cp -a $src/readme.txt $install/usr/share/doc
pascal@24176 36 }