wok-6.x view offlineimap/receipt @ rev 12086
osmo: Make sure /usr folder exist before copying /usr/bin folder.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri Mar 09 21:48:21 2012 -0500 (2012-03-09) |
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 }