wok annotate offlineimap/receipt @ rev 9207
offlineimap: fix WGET_URL and paths
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 10 18:39:52 2011 +0100 (2011-03-10) |
parents | 6ec17b55b59a |
children | 600aaedb561d |
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/" |
pascal@9207 | 12 WGET_URL="http://mirror.slitaz.org/sources/packages/${TARBALL:0:1}/$TARBALL" |
jozee@4970 | 13 TAGS="email imap" |
taziden@3448 | 14 |
taziden@3448 | 15 # Rules to configure and make the package. |
taziden@3448 | 16 compile_rules() |
taziden@3448 | 17 { |
pascal@9207 | 18 cd $src |
pascal@9207 | 19 mkdir -p _pkg/etc |
pascal@9207 | 20 cp offlineimap.conf* _pkg/etc |
taziden@3448 | 21 python setup.py install --root=$PWD/_pkg |
taziden@3448 | 22 } |
taziden@3448 | 23 |
taziden@3448 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
taziden@3448 | 25 genpkg_rules() |
taziden@3448 | 26 { |
pascal@9207 | 27 mkdir -p $fs/usr/share/applications |
pascal@9207 | 28 cp -a $_pkg/etc $fs |
pascal@9207 | 29 cp -a $_pkg/usr/bin $fs/usr |
pascal@9207 | 30 cp -a $_pkg/usr/lib $fs/usr |
pascal@9207 | 31 cp -a $stuff/* $fs/usr/share/applications |
taziden@3448 | 32 } |
taziden@3448 | 33 |