SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "katarina"

# SliTaz package receipt.

PACKAGE="katarina"
VERSION="2.0"
CATEGORY="network"
SHORT_DESC="rsync based multi profile, multi servers backup system"
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="GPL2"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="https://katarina.sourceforge.net/"
WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
TAGS="backup rsync"

DEPENDS="perl rsync"

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

# Rules to configure and make the package.
compile_rules()
{
    sed -i 's|/usr/local/bin|/usr/bin|' *katarina*
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/var/log/katarina/status \
         $fs/var/log/katarina/stat \
         $fs/usr/bin $fs/var/run $fs/var/lock \
         $fs/etc/katarina
    cp -a $src/*katarina* $fs/usr/bin
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)