wok-current view luckybackup/receipt @ rev 24859

updated linuxdcpp (1.0.3 -> 1.1.0)
author Hans-G?nter Theisgen
date Tue Mar 29 10:13:07 2022 +0100 (2022-03-29)
parents 8562189da363
children 7dd01dedad38
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="http://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 }