SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "lha"

# SliTaz package receipt.

PACKAGE="lha"
VERSION="20211125"
CATEGORY="system-tools"
SHORT_DESC="File archiver."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="CC-SA"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="https://github.com/jca02266/lha/"
WGET_URL="https://github.com/jca02266/lha/archive/refs/tags/release-$VERSION.tar.gz"

BUILD_DEPENDS="automake"

# What is the latest version available today?
current_version()
{
    wget -O - https://github.com/jca02266/lha/tags 2>/dev/null | \
    sed '/archive.*tar/!d;s|.*/[a-z-]*\(.*\).tar.*|\1|;q'
}

# Rules to configure and make the package.
compile_rules()
{
    aclocal
    autoheader
    automake -a
    autoconf
    ./configure --prefix=/usr --infodir=/usr/share/info \
    --mandir=/usr/share/man $CONFIGURE_ARGS &&
    make &&
    make DESTDIR=$DESTDIR install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr
    cp -a $install/usr/bin $fs/usr
}

6011 packages and 861676 files in cooking database (Sun Jun 15 00:48:28 2025)