SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "p7zip-full"

# SliTaz package receipt.

PACKAGE="p7zip-full"
SOURCE="p7zip"
VERSION="16.02"
CATEGORY="utilities"
SHORT_DESC="A file archiver with a high compression ratio (full version with restricted codecs)"
MAINTAINER="milka@konstelacioj.info"
LICENSE="LGPL2.1"
TARBALL="${SOURCE}_${VERSION}_src_all.tar.bz2"
WEB_SITE="https://p7zip.sourceforge.net/"
WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL"

# What is the latest version available today?
current_version()
{
        wget -O - https://sourceforge.net/projects/$SOURCE/files/$SOURCE/ 2>/dev/null | \
    sed '/scope="row/!d;s|.*href=".*p7zip/||;s|/.*||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    sed -i 's|HOME)/man|HOME)/share/man|' makefile
    make all3
    make DEST_HOME=$DESTDIR/usr install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr
    cp -a $install/usr/bin $fs/usr
    cp -a $install/usr/lib $fs/usr
    
    # Fix pathname in 7z scripts
    sed -i -e "s#.*$install#\"#" $fs/usr/bin/7z \
        $fs/usr/bin/7za $fs/usr/bin/7zr
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)