wok-stable diff offlineimap/receipt @ rev 11953
Up: slitaz-tools (4.7) - Bug fixes
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Mar 01 16:01:22 2012 +0100 (2012-03-01) |
parents | 6ec17b55b59a |
children |
line diff
1.1 --- a/offlineimap/receipt Wed Feb 24 11:10:57 2010 +0000 1.2 +++ b/offlineimap/receipt Thu Mar 01 16:01:22 2012 +0100 1.3 @@ -9,23 +9,25 @@ 1.4 BUILD_DEPENDS="python-dev" 1.5 TARBALL="offlineimap_$VERSION.tar.gz" 1.6 WEB_SITE="http://software.complete.org/software/projects/show/offlineimap/" 1.7 -WGET_URL="http://software.complete.org/software/attachments/download/334/$TARBALL" 1.8 +WGET_URL="http://mirror.slitaz.org/sources/packages/${TARBALL:0:1}/$TARBALL" 1.9 TAGS="email imap" 1.10 1.11 # Rules to configure and make the package. 1.12 compile_rules() 1.13 { 1.14 - cd offlineimap/ 1.15 + cd $src 1.16 + mkdir -p _pkg/etc 1.17 + cp offlineimap.conf* _pkg/etc 1.18 python setup.py install --root=$PWD/_pkg 1.19 } 1.20 1.21 # Rules to gen a SliTaz package suitable for Tazpkg. 1.22 genpkg_rules() 1.23 { 1.24 - mkdir -p $fs/etc $fs/usr $fs/usr/share/applications 1.25 - cp -a $PACKAGE/offlineimap.conf* $fs/etc 1.26 - cp -a $PACKAGE/_pkg/usr/bin $fs/usr 1.27 - cp -a $PACKAGE/_pkg/usr/lib $fs/usr 1.28 - cp -a $WOK/$PACKAGE/stuff/* $fs/usr/share/applications 1.29 + mkdir -p $fs/usr/share/applications 1.30 + cp -a $_pkg/etc $fs 1.31 + cp -a $_pkg/usr/bin $fs/usr 1.32 + cp -a $_pkg/usr/lib $fs/usr 1.33 + cp -a $stuff/* $fs/usr/share/applications 1.34 } 1.35