wok-current annotate sbackup/receipt @ rev 25687
Up expat CVE-2024-28757
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Mar 15 07:23:20 2024 +0000 (9 months ago) |
parents | ad0bc3efbf37 |
children |
rev | line source |
---|---|
pascal@14379 | 1 # SliTaz package receipt. |
pascal@14379 | 2 |
pascal@14379 | 3 PACKAGE="sbackup" |
Hans-G?nter@23632 | 4 VERSION="0.11.6" |
pascal@14379 | 5 CATEGORY="network" |
Hans-G?nter@23632 | 6 TAGS="backup" |
Hans-G?nter@23632 | 7 SHORT_DESC="Simple backup." |
pascal@14379 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14999 | 9 LICENSE="GPL3" |
pascal@25510 | 10 WEB_SITE="https://sourceforge.net/projects/sbackup/" |
Hans-G?nter@23632 | 11 |
pascal@14379 | 12 TARBALL="${PACKAGE}_$VERSION.tar.gz" |
pascal@14379 | 13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@14379 | 14 |
Hans-G?nter@23632 | 15 DEPENDS="curlftpfs desktop-file-utils fuse gettext-base gvfs notify-python |
Hans-G?nter@23632 | 16 pygtk python sshfs-fuse" |
pascal@21581 | 17 BUILD_DEPENDS="$DEPENDS python-setuptools" |
pascal@14379 | 18 |
pascal@24348 | 19 # What is the latest version available today? |
pascal@24348 | 20 current_version() |
pascal@24348 | 21 { |
pascal@24348 | 22 wget -O - https://sourceforge.net/projects/sbackup/files/sbackup/ 2>/dev/null | \ |
pascal@24348 | 23 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24348 | 24 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24383 | 25 sed '/scope="row/!d;/tar/!d;s|.*/sbackup_||;s|.tar.*||;q' |
pascal@24348 | 26 } |
pascal@24348 | 27 |
pascal@14379 | 28 # Rules to configure and make the package. |
pascal@14379 | 29 compile_rules() |
pascal@14379 | 30 { |
pascal@18425 | 31 mkdir -p $DESTDIR/usr/share/sbackup |
Hans-G?nter@23632 | 32 |
Hans-G?nter@23632 | 33 cp scripts/* $DESTDIR/usr/share/sbackup/ |
Hans-G?nter@23632 | 34 |
Hans-G?nter@23632 | 35 sed -i 's|dbus force-reload|echo &|;s|gconf-schemas|echo &|' \ |
Hans-G?nter@23632 | 36 Makefile |
Hans-G?nter@23632 | 37 make && |
Hans-G?nter@23632 | 38 make DESTDIR=$DESTDIR/usr install |
pascal@14379 | 39 # sudo sbackupconfig |
pascal@14379 | 40 } |
pascal@14379 | 41 |
pascal@14379 | 42 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14379 | 43 genpkg_rules() |
pascal@14379 | 44 { |
Hans-G?nter@23632 | 45 cp -a $install/* $fs |
pascal@14379 | 46 } |