wok-6.x view offlineimap/receipt @ rev 10726

libtaz: Don't need to check /usr/bin/hg anymore. Best to get the tag 1.1.2 version. May need to delete the slitaz-dev-tools-1.1.2.tar.bz2 source on tank to make sure we have the tag version.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat May 28 20:44:37 2011 +0000 (2011-05-28)
parents 6ec17b55b59a
children 600aaedb561d
line source
1 # SliTaz package receipt.
3 PACKAGE="offlineimap"
4 VERSION="6.0.3"
5 CATEGORY="network"
6 SHORT_DESC="IMAP/Maildir synchronization and reader support"
7 MAINTAINER="taziden@slitaz.org"
8 DEPENDS="python"
9 BUILD_DEPENDS="python-dev"
10 TARBALL="offlineimap_$VERSION.tar.gz"
11 WEB_SITE="http://software.complete.org/software/projects/show/offlineimap/"
12 WGET_URL="http://mirror.slitaz.org/sources/packages/${TARBALL:0:1}/$TARBALL"
13 TAGS="email imap"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 mkdir -p _pkg/etc
20 cp offlineimap.conf* _pkg/etc
21 python setup.py install --root=$PWD/_pkg
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/share/applications
28 cp -a $_pkg/etc $fs
29 cp -a $_pkg/usr/bin $fs/usr
30 cp -a $_pkg/usr/lib $fs/usr
31 cp -a $stuff/* $fs/usr/share/applications
32 }