wok-current view imap-upload/receipt @ rev 25124

updated apache-mod-perl (2.0.8 -> 2.0.11)
author Hans-G?nter Theisgen
date Tue Jun 28 16:23:55 2022 +0100 (2022-06-28)
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 }