wok-6.x annotate luckybackup/receipt @ rev 24731
updated libdvdread and libdvdread-dev (6.0.2 -> 6.1.2)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 15 17:30:53 2022 +0100 (2022-03-15) |
parents | 8562189da363 |
children | 7dd01dedad38 |
rev | line source |
---|---|
pascal@16405 | 1 # SliTaz package receipt. |
pascal@16405 | 2 |
pascal@16405 | 3 PACKAGE="luckybackup" |
Hans-G?nter@21387 | 4 VERSION="0.5.0" |
pascal@16405 | 5 CATEGORY="misc" |
Hans-G?nter@21387 | 6 TAGS="backup" |
pascal@16405 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
Hans-G?nter@21387 | 8 SHORT_DESC="A powerful, fast and reliable backup and synchronisation tool." |
pascal@16405 | 9 LICENSE="GPL3" |
pascal@16405 | 10 WEB_SITE="http://luckybackup.sourceforge.net/" |
Hans-G?nter@21387 | 11 |
pascal@16405 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@16405 | 13 WGET_URL="$SF_MIRROR/$PACKAGE/$VERSION/source/$TARBALL" |
pascal@16405 | 14 |
pascal@16405 | 15 DEPENDS="libQtCore libQtNetwork libQtGui" |
pascal@16405 | 16 BUILD_DEPENDS="Qt4-dev qmake" |
pascal@16405 | 17 |
pascal@24411 | 18 # What is the latest version available today? |
pascal@24411 | 19 current_version() |
pascal@24411 | 20 { |
pascal@24411 | 21 wget -O - https://sourceforge.net/projects/luckybackup/files/ 2>/dev/null | \ |
pascal@24411 | 22 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24411 | 23 sed '/scope="row/!d;s|.*/files/||;s|/.*||;q' |
pascal@24411 | 24 } |
pascal@24411 | 25 |
pascal@16405 | 26 # Rules to configure and make the package. |
pascal@16405 | 27 compile_rules() |
pascal@16405 | 28 { |
pascal@16405 | 29 qmake PREFIX=/usr && |
Hans-G?nter@21387 | 30 make -j 1 && |
pascal@16405 | 31 make INSTALL_ROOT=$DESTDIR install |
pascal@16405 | 32 } |
pascal@16405 | 33 |
pascal@16405 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@16405 | 35 genpkg_rules() |
pascal@16405 | 36 { |
pascal@16405 | 37 mkdir -p $fs/usr/share |
Hans-G?nter@21387 | 38 |
Hans-G?nter@21387 | 39 cp -a $install/usr/share/luckybackup $fs/usr/share |
Hans-G?nter@21387 | 40 cp -a $install/usr/share/applications $fs/usr/share |
Hans-G?nter@21387 | 41 # not created |
Hans-G?nter@21387 | 42 # cp -a $install/usr/share/menu $fs/usr/share |
Hans-G?nter@21387 | 43 cp -a $install/usr/share/pixmaps $fs/usr/share |
Hans-G?nter@21387 | 44 cp -a $install/usr/bin $fs/usr |
pascal@16405 | 45 } |