wok-current annotate imapbox/receipt @ rev 22535
created recipe for python-ply
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jan 03 13:49:45 2020 +0100 (2020-01-03) |
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 } |