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