SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "ncftp"

# SliTaz package receipt.

PACKAGE="ncftp"
VERSION="3.2.6"
CATEGORY="network"
SHORT_DESC="A File Transfer Protocol client."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="Artistic"
WEB_SITE="https://www.ncftp.com/ncftp/"

TARBALL="$PACKAGE-$VERSION-src.tar.xz"
WGET_URL="ftp://ftp.ncftp.com/ncftp/$TARBALL"

DEPENDS="ncurses"
BUILD_DEPENDS="ncurses-dev"

# What is the latest version available today?
current_version()
{
    wget -O - $WEB_SITE 2>/dev/null | \
    sed '/FF0000/!d;s|.*0000">||;s|</FONT.*||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    export LDFLAGS="$LDFLAGS -ltinfo"
    ./configure --prefix=/usr --sysconfdir=/etc &&
    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
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)