SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "frox"

# SliTaz package receipt.

PACKAGE="frox"
VERSION="0.7.18"
CATEGORY="network"
SHORT_DESC="A transparent ftp proxy"
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="GPL2"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WEB_SITE="https://frox.sourceforge.net/"
WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
CONFIG_FILES="/etc/frox.conf"
TAGS="ftp"

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

# Rules to configure and make the package.
compile_rules()
{
    ./configure --prefix=/usr \
        --enable-configfile=/etc/frox.conf \
        $CONFIGURE_ARGS &&
    make &&
    make DESTDIR=$DESTDIR install
}

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