wok-current view imapbackup/receipt @ rev 24906
updated minidlna (1.2.1 -> 1.3.0)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 09 14:37:52 2022 +0100 (2022-04-09) |
parents | daf2bdd6e3c7 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="imapbackup"
4 VERSION="20181228"
5 GITHASH=c0328cb4d6f854e61222510bec70fa44c95d6982
6 CATEGORY="network"
7 SHORT_DESC="Incremental backups of IMAP mailboxes"
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="MIT"
10 TARBALL="$PACKAGE-$VERSION.zip"
11 WEB_SITE="https://taoofmac.com/space/projects/imapbackup"
12 WGET_URL="https://github.com/rcarmo/imapbackup/archive/$GITHASH.zip"
13 TAGS="imap backup"
15 DEPENDS="python"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://taoofmac.com/space/projects/imapbackup 2>/dev/null | \
21 sed '/imapbackup-/!d;s|.*imapbackup-||;s|.py.*||;q'
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/bin $install/usr/share/doc
28 cp $src/README.md $install/usr/share/doc
29 cp $src/imapbackup.py $fs/usr/bin/imapbackup
30 chmod +x $fs/usr/bin/imapbackup
31 }