wok-6.x view imapbox/receipt @ rev 24990
idesk: imlib2 >= 1.7.5 support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri May 13 20:03:04 2022 +0000 (2022-05-13) |
parents | c49ffc024a6c |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="imapbox"
4 GITHASH="c7265e34b03ee41963aad243055a5508c9e88fc9"
5 VERSION=${GITHASH:0:7}
6 CATEGORY="network"
7 SHORT_DESC="Dump imap inbox in a backupable format: html, json and attachements"
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="MIT"
10 TARBALL="$PACKAGE-$VERSION.zip"
11 WEB_SITE="https://github.com/polo2ro/imapbox"
12 WGET_URL="https://codeload.github.com/polo2ro/imapbox/zip/$GITHASH"
14 DEPENDS="python-chardet python-six"
15 SUGGESTED="python-pdfkit"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - $WEB_SITE/commits/master 2>/dev/null | \
21 sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 patch -p1 < $stuff/slitaz.patch
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/share/imapbox
34 cp $src/* $fs/usr/share/imapbox
35 }