wok view sbackup/receipt @ rev 25457

Normazile https://sourceforge.net/projects web_sites
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 23 08:28:09 2022 +0000 (19 months ago)
parents 076f424196b2
children 69e1e705f038
line source
1 # SliTaz package receipt.
3 PACKAGE="sbackup"
4 VERSION="0.11.6"
5 CATEGORY="network"
6 TAGS="backup"
7 SHORT_DESC="Simple backup."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL3"
10 WEB_SITE="https://sourceforge.net/projects/sbackup"
12 TARBALL="${PACKAGE}_$VERSION.tar.gz"
13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
15 DEPENDS="curlftpfs desktop-file-utils fuse gettext-base gvfs notify-python
16 pygtk python sshfs-fuse"
17 BUILD_DEPENDS="$DEPENDS python-setuptools"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - https://sourceforge.net/projects/sbackup/files/sbackup/ 2>/dev/null | \
23 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
24 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
25 sed '/scope="row/!d;/tar/!d;s|.*/sbackup_||;s|.tar.*||;q'
26 }
28 # Rules to configure and make the package.
29 compile_rules()
30 {
31 mkdir -p $DESTDIR/usr/share/sbackup
33 cp scripts/* $DESTDIR/usr/share/sbackup/
35 sed -i 's|dbus force-reload|echo &|;s|gconf-schemas|echo &|' \
36 Makefile
37 make &&
38 make DESTDIR=$DESTDIR/usr install
39 # sudo sbackupconfig
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 cp -a $install/* $fs
46 }