wok-current 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 07edd55d4b03
children 7e9119f9fef8
files offlineimap/receipt
line diff
     1.1 --- a/offlineimap/receipt	Thu Mar 10 18:35:38 2011 +0100
     1.2 +++ b/offlineimap/receipt	Thu Mar 10 18:39:52 2011 +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