SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "lftp"

# SliTaz package receipt.

PACKAGE="lftp"
VERSION="4.9.2"
CATEGORY="network"
SHORT_DESC="Small but powerful ftp client."
MAINTAINER="mimas@slitaz.org"
LICENSE="GPL3"
WEB_SITE="https://lftp.yar.ru/"

TARBALL="$PACKAGE-$VERSION.tar.xz"
WGET_URL="https://lftp.yar.ru/ftp/$TARBALL"

DEPENDS="expat gcc83-lib-base gmp gnutls readline"
BUILD_DEPENDS="expat-dev gcc83 gcc83-lib-base gmp-dev gnutls-dev gperf
    libgnutls ncurses-dev readline-dev"

CROSS="bug: failed at test"

# What is the latest version available today?
current_version()
{
    wget -O - https://lftp.yar.ru/get.html 2>/dev/null | \
    sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
}

# Rules to configure and make the package.
compile_rules()
{
    ./configure            \
        CC=gcc-83        \
        CXX=g++-83        \
        --with-gnutls        \
        --without-openssl    \
        --build=$HOST_SYSTEM    \
        --host=$HOST_SYSTEM &&
    make &&
    make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cook_copy_folders    bin
}
6047 packages and 209931 files in current database (Wed Jun 26 15:35:30 2024)