wok-current annotate offlineimap/receipt @ rev 4446

Up: ndiswrapper-driver, utils;fix WGET_URL
author Rohit Joshi <jozee@slitaz.org>
date Thu Nov 05 19:41:12 2009 +0000 (2009-11-05)
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