wok-6.x diff offlineimap/receipt @ rev 15590

gphoto2, gtkperf: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Dec 02 19:18:04 2013 +0000 (2013-12-02)
parents fbc9bad7411a
children 16df76e1fc6a
line diff
     1.1 --- a/offlineimap/receipt	Thu Mar 10 18:39:52 2011 +0100
     1.2 +++ b/offlineimap/receipt	Mon Dec 02 19:18:04 2013 +0000
     1.3 @@ -5,29 +5,31 @@
     1.4  CATEGORY="network"
     1.5  SHORT_DESC="IMAP/Maildir synchronization and reader support"
     1.6  MAINTAINER="taziden@slitaz.org"
     1.7 -DEPENDS="python"
     1.8 -BUILD_DEPENDS="python-dev"
     1.9 +LICENSE="GPL2"
    1.10  TARBALL="offlineimap_$VERSION.tar.gz"
    1.11  WEB_SITE="http://software.complete.org/software/projects/show/offlineimap/"
    1.12  WGET_URL="http://mirror.slitaz.org/sources/packages/${TARBALL:0:1}/$TARBALL"
    1.13  TAGS="email imap"
    1.14  
    1.15 +DEPENDS="python"
    1.16 +BUILD_DEPENDS="python-dev"
    1.17 +
    1.18  # Rules to configure and make the package.
    1.19  compile_rules()
    1.20  {
    1.21   cd $src
    1.22 - mkdir -p _pkg/etc
    1.23 - cp offlineimap.conf* _pkg/etc
    1.24 - python setup.py install --root=$PWD/_pkg
    1.25 + mkdir -p $DESTDIR/etc
    1.26 + cp offlineimap.conf* $DESTDIR/etc
    1.27 + python setup.py install --root=$DESTDIR
    1.28  }
    1.29  
    1.30  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.31  genpkg_rules()
    1.32  {
    1.33   mkdir -p $fs/usr/share/applications
    1.34 - cp -a $_pkg/etc $fs
    1.35 - cp -a $_pkg/usr/bin $fs/usr
    1.36 - cp -a $_pkg/usr/lib $fs/usr
    1.37 + cp -a $install/etc $fs
    1.38 + cp -a $install/usr/bin $fs/usr
    1.39 + cp -a $install/usr/lib $fs/usr
    1.40   cp -a $stuff/* $fs/usr/share/applications 
    1.41  }
    1.42