wok-6.x annotate imapbox/receipt @ rev 23513
busybox: musl & diet may fail
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Apr 06 11:53:42 2020 +0200 (2020-04-06) |
parents | |
children | 89c8d8b6cf48 |
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@20689 | 17 # Rules to configure and make the package. |
pascal@20689 | 18 compile_rules() |
pascal@20689 | 19 { |
pascal@20689 | 20 patch -p1 < $stuff/slitaz.patch |
pascal@20689 | 21 } |
pascal@20689 | 22 |
pascal@20689 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@20689 | 24 genpkg_rules() |
pascal@20689 | 25 { |
pascal@20689 | 26 mkdir -p $fs/usr/share/imapbox |
pascal@20689 | 27 cp $src/* $fs/usr/share/imapbox |
pascal@20689 | 28 } |