wok-6.x view unrar/receipt @ rev 25018
updated openjpeg, openjpeg-dev and openjpeg-tools again (1.5.0 -> 1.5.2)
author | Hans-G?nter Theisgen |
---|---|
date | Wed May 18 07:14:08 2022 +0100 (2022-05-18) |
parents | 1ba744079b14 |
children | 54ad3e130aff |
line source
1 # SliTaz package receipt.
3 PACKAGE="unrar"
4 VERSION="5.9.2"
5 CATEGORY="utilities"
6 SHORT_DESC="The free unrar."
7 MAINTAINER="gokhlayeh@slitaz.org"
8 LICENSE="freeware"
9 WEB_SITE="https://www.rarlab.com/"
11 TARBALL="${PACKAGE}src-$VERSION.tar.gz"
12 WGET_URL="${WEB_SITE}rar/$TARBALL"
14 DEPENDS="gcc-lib-base"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://github.com/baulk/unrar/releases 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 make
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/bin
33 cp -a $src/unrar $fs/usr/bin
34 }