wok-6.x view offlineimap/receipt @ rev 24596

updated gftp (2.0.19 -> 2.9.1b)
author Hans-G?nter Theisgen
date Tue Mar 01 15:53:52 2022 +0100 (2022-03-01)
parents 1a95dca96d7f
children 870e1ce31226
line source
1 # SliTaz package receipt.
3 PACKAGE="offlineimap"
4 VERSION="6.0.3"
5 CATEGORY="network"
6 SHORT_DESC="IMAP/Maildir synchronization and reader support"
7 MAINTAINER="taziden@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="offlineimap_$VERSION.tar.gz"
10 WEB_SITE="https://www.offlineimap.org/"
11 WGET_URL="http://mirror.slitaz.org/sources/packages/${TARBALL:0:1}/$TARBALL"
12 TAGS="email imap"
14 DEPENDS="python"
15 BUILD_DEPENDS="python-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://github.com/OfflineIMAP/offlineimap/tags 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 mkdir -p $DESTDIR/etc
28 cp offlineimap.conf* $DESTDIR/etc
29 python setup.py install --root=$DESTDIR
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/share/applications
36 cp -a $install/etc $fs
37 cp -a $install/usr/bin $fs/usr
38 cp -a $install/usr/lib $fs/usr
39 cp -a $stuff/* $fs/usr/share/applications
40 }