wok-current annotate offlineimap/receipt @ rev 3939

emacs 23.1: small adjustments
author Dominique Corbex <domcox@users.sourceforge.net>
date Sat Aug 22 11:15:56 2009 +0200 (2009-08-22)
parents 2d175ca8550b
children 6ec17b55b59a
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@3449 24 mkdir -p $fs/etc $fs/usr $fs/usr/share/applications
taziden@3449 25 cp -a $PACKAGE/offlineimap.conf* $fs/etc
taziden@3448 26 cp -a $PACKAGE/_pkg/usr/bin $fs/usr
taziden@3448 27 cp -a $PACKAGE/_pkg/usr/lib $fs/usr
taziden@3448 28 cp -a $WOK/$PACKAGE/stuff/* $fs/usr/share/applications
taziden@3448 29 }
taziden@3448 30