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

Rebuild Python packages to remove "*.pyc" files from packages files.lists (part last)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat May 23 16:17:14 2015 +0300 (2015-05-23)
parents 600aaedb561d
children 1a95dca96d7f
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 LICENSE="GPL2"
9 TARBALL="offlineimap_$VERSION.tar.gz"
10 WEB_SITE="http://software.complete.org/software/projects/show/offlineimap/"
11 WGET_URL="http://mirror.slitaz.org/sources/packages/${TARBALL:0:1}/$TARBALL"
12 TAGS="email imap"
14 DEPENDS="python"
15 BUILD_DEPENDS="python-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 mkdir -p $DESTDIR/etc
21 cp offlineimap.conf* $DESTDIR/etc
22 python setup.py install --root=$DESTDIR
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/share/applications
29 cp -a $install/etc $fs
30 cp -a $install/usr/bin $fs/usr
31 cp -a $install/usr/lib $fs/usr
32 cp -a $stuff/* $fs/usr/share/applications
33 }