wok view offlineimap/receipt @ rev 25707

Up perl-net-pcap (0.21), qtermwidget (0.5.1), youtube-dl-gui (0.3.8)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jul 05 14:08:34 2024 +0000 (3 months ago)
parents d7522d21c4d3
children
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://github.com/OfflineIMAP/offlineimap"
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 }