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