wok-6.x annotate offlineimap/receipt @ rev 19488

Update SliTaz projects: slitaz-base-files (312), slitaz-configs (295), slitaz-doc (158), slitaz-tools (1004), tazinst (83), tazlito (439), tazpanel (606), tazpkg (927), tazusb (192), tazweb (172).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Nov 12 13:09:26 2016 +0200 (2016-11-12)
parents 600aaedb561d
children 1a95dca96d7f
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"
taziden@3448 10 WEB_SITE="http://software.complete.org/software/projects/show/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
taziden@3448 17 # Rules to configure and make the package.
taziden@3448 18 compile_rules()
taziden@3448 19 {
al@18077 20 mkdir -p $DESTDIR/etc
al@18077 21 cp offlineimap.conf* $DESTDIR/etc
al@18077 22 python setup.py install --root=$DESTDIR
taziden@3448 23 }
taziden@3448 24
taziden@3448 25 # Rules to gen a SliTaz package suitable for Tazpkg.
taziden@3448 26 genpkg_rules()
taziden@3448 27 {
al@18077 28 mkdir -p $fs/usr/share/applications
al@18077 29 cp -a $install/etc $fs
al@18077 30 cp -a $install/usr/bin $fs/usr
al@18077 31 cp -a $install/usr/lib $fs/usr
al@18077 32 cp -a $stuff/* $fs/usr/share/applications
taziden@3448 33 }