wok view sbackup/receipt @ rev 25614
Add libslirp
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Aug 03 11:59:41 2023 +0000 (15 months ago) |
parents | 69e1e705f038 |
children |
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|.*a href="|"https://sourceforge.net|;s| .*||;q' | xargs wget -O - 2>/dev/null | \
24 sed '/scope="row/!d;s|.*a href="|"https://sourceforge.net|;s| .*||;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 }