SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "vfu"

# SliTaz package receipt.

PACKAGE="vfu"
VERSION="4.12"
CATEGORY="utilities"
SHORT_DESC="VFU is a console (text mode) file manager for UNIX/Linux."
MAINTAINER="paul@slitaz.org"
LICENSE="GPL2"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://cade.datamax.bg/vfu/"
WGET_URL="http://cade.datamax.bg/vfu/$TARBALL"

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

# What is the latest version available today?
current_version()
{
    wget -O - $WEB_SITE 2>/dev/null | \
    sed "/tar.gz/!d;s|.*$PACKAGE-||;s|.tar.*||" | tail -n1
}

# Rules to configure and make the package.
compile_rules()
{
    make LDDEF=-ltinfo
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/bin $fs/usr/lib/vfu $fs/etc
    cp -a $src/vfu/vfu $fs/usr/bin
    cp -a $src/rx/rx_* $fs/usr/lib/vfu
    cp -a $src/vfu.conf $fs/etc
    chown root:root $fs/etc/vfu.conf
    chown -R root:root $fs/usr/lib/vfu
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)