wok-6.x view sbackup/receipt @ rev 24588
updated gdbm and gdbm-dev (1.18.1 -> 1.23)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Feb 28 15:06:59 2022 +0100 (2022-02-28) |
parents | e919c5a2742d |
children | ad0bc3efbf37 |
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 }