wok annotate offlineimap/receipt @ rev 25692
dropbear (2024.84) fixes terrapin-attack, zstd (1.5.6)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Apr 21 11:33:54 2024 +0000 (7 months ago) |
parents | d7522d21c4d3 |
children |
rev | line source |
---|---|
taziden@3448 | 1 # SliTaz package receipt. |
taziden@3448 | 2 |
taziden@3448 | 3 PACKAGE="offlineimap" |
taziden@3448 | 4 VERSION="6.0.3" |
taziden@3448 | 5 CATEGORY="network" |
taziden@3448 | 6 SHORT_DESC="IMAP/Maildir synchronization and reader support" |
taziden@3448 | 7 MAINTAINER="taziden@slitaz.org" |
pascal@15590 | 8 LICENSE="GPL2" |
taziden@3448 | 9 TARBALL="offlineimap_$VERSION.tar.gz" |
pascal@24894 | 10 WEB_SITE="https://github.com/OfflineIMAP/offlineimap" |
pascal@9207 | 11 WGET_URL="http://mirror.slitaz.org/sources/packages/${TARBALL:0:1}/$TARBALL" |
jozee@4970 | 12 TAGS="email imap" |
taziden@3448 | 13 |
pascal@15590 | 14 DEPENDS="python" |
pascal@15590 | 15 BUILD_DEPENDS="python-dev" |
pascal@15590 | 16 |
pascal@24500 | 17 # What is the latest version available today? |
pascal@24500 | 18 current_version() |
pascal@24500 | 19 { |
pascal@24500 | 20 wget -O - https://github.com/OfflineIMAP/offlineimap/tags 2>/dev/null | \ |
pascal@24500 | 21 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' |
pascal@24500 | 22 } |
pascal@24500 | 23 |
taziden@3448 | 24 # Rules to configure and make the package. |
taziden@3448 | 25 compile_rules() |
taziden@3448 | 26 { |
al@18077 | 27 mkdir -p $DESTDIR/etc |
al@18077 | 28 cp offlineimap.conf* $DESTDIR/etc |
al@18077 | 29 python setup.py install --root=$DESTDIR |
taziden@3448 | 30 } |
taziden@3448 | 31 |
taziden@3448 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
taziden@3448 | 33 genpkg_rules() |
taziden@3448 | 34 { |
al@18077 | 35 mkdir -p $fs/usr/share/applications |
al@18077 | 36 cp -a $install/etc $fs |
al@18077 | 37 cp -a $install/usr/bin $fs/usr |
al@18077 | 38 cp -a $install/usr/lib $fs/usr |
al@18077 | 39 cp -a $stuff/* $fs/usr/share/applications |
taziden@3448 | 40 } |