wok view luckybackup/receipt @ rev 25460
Update sourceforge.net web_sites with https://
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Sep 28 08:10:35 2022 +0000 (2022-09-28) |
parents | 65d7d867e0c1 |
children | d3556b8f5c3d |
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|.*href="|"https://sourceforge.net|;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 }