wok view luckybackup/receipt @ rev 25632

Up gtklife (5.3)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Dec 23 14:06:29 2023 +0000 (11 months ago)
parents 7dd01dedad38
children
line source
1 # SliTaz package receipt.
3 PACKAGE="luckybackup"
4 VERSION="0.5.0"
5 CATEGORY="misc"
6 TAGS="backup"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 SHORT_DESC="A powerful, fast and reliable backup and synchronisation tool."
9 LICENSE="GPL3"
10 WEB_SITE="https://luckybackup.sourceforge.net/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$SF_MIRROR/$PACKAGE/$VERSION/source/$TARBALL"
15 DEPENDS="libQtCore libQtNetwork libQtGui"
16 BUILD_DEPENDS="Qt4-dev qmake"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://sourceforge.net/projects/luckybackup/files/ 2>/dev/null | \
22 sed '/scope="row/!d;s|.*a href="|"https://sourceforge.net|;s| .*||;q' | xargs wget -O - 2>/dev/null | \
23 sed '/scope="row/!d;s|.*/files/||;s|/.*||;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 qmake PREFIX=/usr &&
30 make -j 1 &&
31 make INSTALL_ROOT=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/share
39 cp -a $install/usr/share/luckybackup $fs/usr/share
40 cp -a $install/usr/share/applications $fs/usr/share
41 # not created
42 # cp -a $install/usr/share/menu $fs/usr/share
43 cp -a $install/usr/share/pixmaps $fs/usr/share
44 cp -a $install/usr/bin $fs/usr
45 }