SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "unrar"

# SliTaz package receipt.

PACKAGE="unrar"
VERSION="6.1.7"
CATEGORY="utilities"
SHORT_DESC="The free unrar."
MAINTAINER="gokhlayeh@slitaz.org"
LICENSE="freeware"
WEB_SITE="https://www.rarlab.com/"

TARBALL="${PACKAGE}src-$VERSION.tar.gz"
WGET_URL="${WEB_SITE}rar/$TARBALL"

DEPENDS="gcc-lib-base"

# What is the latest version available today?
current_version()
{
    wget -O - https://github.com/baulk/unrar/releases 2>/dev/null | \
    sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
}

# Rules to configure and make the package.
compile_rules()
{
    make
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/bin
    cp -a $src/unrar    $fs/usr/bin
}
6047 packages and 209931 files in current database (Mon Jul 1 15:25:36 2024)