wok-current view imapbox/receipt @ rev 25001
updated nnn (4.0 -> 4.5)
author | Hans-G?nter Theisgen |
---|---|
date | Mon May 16 14:07:26 2022 +0100 (2022-05-16) |
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 }