SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "luckybackup"

# SliTaz package receipt.

PACKAGE="luckybackup"
VERSION="0.5.0"
CATEGORY="misc"
TAGS="backup"
MAINTAINER="pascal.bellard@slitaz.org"
SHORT_DESC="A powerful, fast and reliable backup and synchronisation tool."
LICENSE="GPL3"
WEB_SITE="https://luckybackup.sourceforge.net/"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="$SF_MIRROR/$PACKAGE/$VERSION/source/$TARBALL"

DEPENDS="libQtCore libQtNetwork libQtGui"
BUILD_DEPENDS="Qt4-dev qmake"

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

# Rules to configure and make the package.
compile_rules()
{
    qmake PREFIX=/usr &&
    make -j 1 &&
    make INSTALL_ROOT=$DESTDIR install
}
    
# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/share

    cp -a $install/usr/share/luckybackup    $fs/usr/share
    cp -a $install/usr/share/applications    $fs/usr/share
#    not created
#    cp -a $install/usr/share/menu        $fs/usr/share
    cp -a $install/usr/share/pixmaps    $fs/usr/share
    cp -a $install/usr/bin            $fs/usr
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)