wok annotate imap-upload/receipt @ rev 15884

Add imap-upload
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Feb 07 12:29:13 2014 +0000 (2014-02-07)
parents
children ba7cbdb5749c
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@15884 16 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@15884 17 genpkg_rules()
pascal@15884 18 {
pascal@15884 19 mkdir -p $fs/usr/bin
pascal@15884 20 echo -e "#!/usr/bin/env python\n" | cat - $src/imap_upload.py \
pascal@15884 21 > $fs/usr/bin/imap_upload
pascal@15884 22 chmod 755 $fs/usr/bin/imap_upload
pascal@15884 23 }