wok-stable annotate offlineimap/receipt @ rev 3448

Add offineimap
author Julien Rabier <taziden@slitaz.org>
date Sun Jun 14 23:40:53 2009 +0000 (2009-06-14)
parents
children d04f9b6a1136
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"
taziden@3448 13
taziden@3448 14 # Rules to configure and make the package.
taziden@3448 15 compile_rules()
taziden@3448 16 {
taziden@3448 17 cd offlineimap/
taziden@3448 18 python setup.py install --root=$PWD/_pkg
taziden@3448 19 }
taziden@3448 20
taziden@3448 21 # Rules to gen a SliTaz package suitable for Tazpkg.
taziden@3448 22 genpkg_rules()
taziden@3448 23 {
taziden@3448 24 mkdir -p $fs/usr $fs/usr/share/applications
taziden@3448 25 cp -a $PACKAGE/_pkg/usr/bin $fs/usr
taziden@3448 26 cp -a $PACKAGE/_pkg/usr/lib $fs/usr
taziden@3448 27 cp -a $WOK/$PACKAGE/stuff/* $fs/usr/share/applications
taziden@3448 28 }
taziden@3448 29