wok-6.x annotate imap-upload/receipt @ rev 25292

updated rubberband (2.0.2 -> 3.0.0)
author Hans-G?nter Theisgen
date Tue Jul 19 10:19:50 2022 +0100 (2022-07-19)
parents 36e9807432da
children 7dd01dedad38
rev   line source
pascal@15884 1 # SliTaz package receipt.
pascal@15884 2
pascal@15884 3 PACKAGE="imap-upload"
pascal@15884 4 VERSION="1.2"
pascal@15884 5 CATEGORY="network"
pascal@15884 6 SHORT_DESC="Tool for uploading a local mbox file to IMAP4 server."
pascal@15884 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15884 8 TARBALL="$PACKAGE-$VERSION.zip"
pascal@15884 9 LICENSE="MIT"
pascal@15884 10 WEB_SITE="http://imap-upload.sourceforge.net/"
pascal@15884 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@15884 12
pascal@15884 13 DEPENDS="python"
pascal@15884 14 BUILD_DEPENDS=""
pascal@15884 15
pascal@24412 16 # What is the latest version available today?
pascal@24412 17 current_version()
pascal@24412 18 {
pascal@24412 19 wget -O - https://sourceforge.net/projects/imap-upload/files/imap-upload/ 2>/dev/null | \
pascal@24412 20 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
pascal@24412 21 sed '/scope="row/!d;s|.*/imap-upload/||;s|/.*||;q'
pascal@24412 22 }
pascal@24412 23
pascal@15884 24 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@15884 25 genpkg_rules()
pascal@15884 26 {
pascal@15884 27 mkdir -p $fs/usr/bin
pascal@15884 28 echo -e "#!/usr/bin/env python\n" | cat - $src/imap_upload.py \
pascal@15884 29 > $fs/usr/bin/imap_upload
pascal@15884 30 chmod 755 $fs/usr/bin/imap_upload
pascal@15884 31 }