wok annotate offlineimap/receipt @ rev 16615

libgd: update genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu May 08 17:42:56 2014 +0000 (2014-05-08)
parents fbc9bad7411a
children 16df76e1fc6a
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"
pascal@15590 8 LICENSE="GPL2"
taziden@3448 9 TARBALL="offlineimap_$VERSION.tar.gz"
taziden@3448 10 WEB_SITE="http://software.complete.org/software/projects/show/offlineimap/"
pascal@9207 11 WGET_URL="http://mirror.slitaz.org/sources/packages/${TARBALL:0:1}/$TARBALL"
jozee@4970 12 TAGS="email imap"
taziden@3448 13
pascal@15590 14 DEPENDS="python"
pascal@15590 15 BUILD_DEPENDS="python-dev"
pascal@15590 16
taziden@3448 17 # Rules to configure and make the package.
taziden@3448 18 compile_rules()
taziden@3448 19 {
pascal@9207 20 cd $src
pascal@15590 21 mkdir -p $DESTDIR/etc
pascal@15590 22 cp offlineimap.conf* $DESTDIR/etc
pascal@15590 23 python setup.py install --root=$DESTDIR
taziden@3448 24 }
taziden@3448 25
taziden@3448 26 # Rules to gen a SliTaz package suitable for Tazpkg.
taziden@3448 27 genpkg_rules()
taziden@3448 28 {
pascal@9207 29 mkdir -p $fs/usr/share/applications
pascal@15590 30 cp -a $install/etc $fs
pascal@15590 31 cp -a $install/usr/bin $fs/usr
pascal@15590 32 cp -a $install/usr/lib $fs/usr
pascal@9207 33 cp -a $stuff/* $fs/usr/share/applications
taziden@3448 34 }
taziden@3448 35