wok-current annotate offlineimap/receipt @ rev 24906

updated minidlna (1.2.1 -> 1.3.0)
author Hans-G?nter Theisgen
date Sat Apr 09 14:37:52 2022 +0100 (2022-04-09)
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 }