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

lzma, xz: Fixed removeal of unlzma in post_install and pre_install.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Dec 12 08:04:46 2010 +0000 (2010-12-12)
parents d04f9b6a1136
children fbc9bad7411a
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"
taziden@3448 8 DEPENDS="python"
taziden@3448 9 BUILD_DEPENDS="python-dev"
taziden@3448 10 TARBALL="offlineimap_$VERSION.tar.gz"
taziden@3448 11 WEB_SITE="http://software.complete.org/software/projects/show/offlineimap/"
taziden@3448 12 WGET_URL="http://software.complete.org/software/attachments/download/334/$TARBALL"
jozee@4970 13 TAGS="email imap"
taziden@3448 14
taziden@3448 15 # Rules to configure and make the package.
taziden@3448 16 compile_rules()
taziden@3448 17 {
taziden@3448 18 cd offlineimap/
taziden@3448 19 python setup.py install --root=$PWD/_pkg
taziden@3448 20 }
taziden@3448 21
taziden@3448 22 # Rules to gen a SliTaz package suitable for Tazpkg.
taziden@3448 23 genpkg_rules()
taziden@3448 24 {
taziden@3449 25 mkdir -p $fs/etc $fs/usr $fs/usr/share/applications
taziden@3449 26 cp -a $PACKAGE/offlineimap.conf* $fs/etc
taziden@3448 27 cp -a $PACKAGE/_pkg/usr/bin $fs/usr
taziden@3448 28 cp -a $PACKAGE/_pkg/usr/lib $fs/usr
taziden@3448 29 cp -a $WOK/$PACKAGE/stuff/* $fs/usr/share/applications
taziden@3448 30 }
taziden@3448 31