wok annotate unrar/receipt @ rev 24622
updated graphviz, graphviz-dev and graphviz-doc (2.42.2 -> 3.0.0)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Mar 07 16:02:21 2022 +0100 (2022-03-07) |
parents | 1ba744079b14 |
children | 54ad3e130aff |
rev | line source |
---|---|
gokhlayeh@5969 | 1 # SliTaz package receipt. |
gokhlayeh@5969 | 2 |
gokhlayeh@5969 | 3 PACKAGE="unrar" |
Hans-G?nter@23720 | 4 VERSION="5.9.2" |
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 } |