wok annotate unrar/receipt @ rev 25386

updated unrar (5.9.2 -> 6.1.7)
author Hans-G?nter Theisgen
date Sat Jul 30 17:51:49 2022 +0100 (22 months ago)
parents 7c0170dd3ecc
children 0262035dc1e7
rev   line source
gokhlayeh@5969 1 # SliTaz package receipt.
gokhlayeh@5969 2
gokhlayeh@5969 3 PACKAGE="unrar"
Hans-G?nter@25386 4 VERSION="6.1.7"
gokhlayeh@5969 5 CATEGORY="utilities"
Hans-G?nter@22080 6 SHORT_DESC="The free unrar."
gokhlayeh@7034 7 MAINTAINER="gokhlayeh@slitaz.org"
pascal@18577 8 LICENSE="freeware"
Hans-G?nter@22080 9 WEB_SITE="https://www.rarlab.com/"
Hans-G?nter@22080 10
pascal@18577 11 TARBALL="${PACKAGE}src-$VERSION.tar.gz"
Hans-G?nter@22080 12 WGET_URL="${WEB_SITE}rar/$TARBALL"
pascal@18577 13
pascal@18577 14 DEPENDS="gcc-lib-base"
gokhlayeh@5969 15
pascal@24535 16 # What is the latest version available today?
pascal@24535 17 current_version()
pascal@24535 18 {
pascal@24535 19 wget -O - https://github.com/baulk/unrar/releases 2>/dev/null | \
pascal@24535 20 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
pascal@24535 21 }
pascal@24535 22
gokhlayeh@5969 23 # Rules to configure and make the package.
gokhlayeh@5969 24 compile_rules()
gokhlayeh@5969 25 {
pascal@18577 26 make
gokhlayeh@5969 27 }
gokhlayeh@5969 28
gokhlayeh@5969 29 # Rules to gen a SliTaz package suitable for Tazpkg.
gokhlayeh@5969 30 genpkg_rules()
gokhlayeh@5969 31 {
pascal@18577 32 mkdir -p $fs/usr/bin
Hans-G?nter@23720 33 cp -a $src/unrar $fs/usr/bin
gokhlayeh@5969 34 }