wok annotate claws-mail/receipt @ rev 18730
Quote root dir in post_install
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Dec 20 15:13:45 2015 +0100 (2015-12-20) |
parents | feb2e0c63d21 |
children | 86790a278e70 |
rev | line source |
---|---|
erjo@1239 | 1 # SliTaz package receipt. |
erjo@1239 | 2 |
erjo@1239 | 3 PACKAGE="claws-mail" |
erjo@15705 | 4 VERSION="3.9.3" |
pascal@1423 | 5 CATEGORY="network" |
erjo@1304 | 6 SHORT_DESC="The user-firendly, lightweight and fast email client" |
erjo@1239 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@14999 | 8 LICENSE="GPL3" |
pankso@9742 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@9742 | 10 WEB_SITE="http://www.claws-mail.org/index.php" |
pankso@9742 | 11 WGET_URL="$SF_MIRROR/sylpheed-claws/$TARBALL" |
pankso@9742 | 12 TAGS="email client" |
pankso@9742 | 13 |
erjo@11311 | 14 DEPENDS="libetpan libdb libsasl libcurl gpgme enchant dbus dbus-glib expat \ |
erjo@11311 | 15 libgnutls gtk+ libgcrypt startup-notification xorg-libICE xorg-libSM \ |
pascal@2489 | 16 xorg-libX11 xorg-libXau xorg-libXcomposite xorg-libXcursor xorg-libXdmcp \ |
pascal@2513 | 17 xorg-libXext xorg-libXfixes xorg-libXinerama xorg-libXrandr xorg-libXrender \ |
pascal@5026 | 18 xorg-libXdamage gcc-lib-base libtasn1" |
pankso@9742 | 19 BUILD_DEPENDS="libetpan-dev curl-dev gpgme-dev glib-dev libgpg-error-dev \ |
pankso@9742 | 20 enchant libidn-dev db-dev expat-dev cyrus-sasl-dev xcb-util-dev gtk+-dev \ |
erjo@15705 | 21 pkg-config libassuan libassuan-dev xorg-dev gnutls-dev libwebkit-dev curl-dev xorg-libXinerama-dev \ |
pascal@17252 | 22 xorg-libXrandr-dev xorg-libXcursor-dev xorg-libXcomposite-dev \ |
pascal@17252 | 23 xorg-libXdamage-dev libxslt-dev xorg-libXt-dev util-linux-uuid-dev \ |
pascal@17252 | 24 python-dev pygtk-dev libarchive-dev attr-dev acl-dev liblzma-dev poppler-dev lcms-dev \ |
pascal@17252 | 25 ghostscript-dev libgnome-keyring-dev dbus-dev" |
erjo@1239 | 26 |
erjo@1239 | 27 # Rules to configure and make the package. |
erjo@1239 | 28 compile_rules() |
erjo@1239 | 29 { |
pankso@9742 | 30 ./configure \ |
erjo@1239 | 31 --disable-ldap \ |
erjo@1239 | 32 --disable-jpilot \ |
slaxemulator@10290 | 33 $CONFIGURE_ARGS && |
pankso@9742 | 34 make && make install |
erjo@1239 | 35 } |
erjo@1239 | 36 |
erjo@1239 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@1239 | 38 genpkg_rules() |
erjo@1239 | 39 { |
pankso@9742 | 40 mkdir -p $fs/usr/share \ |
pankso@9794 | 41 $fs/usr/lib/$PACKAGE/plugins |
pascal@14999 | 42 cp -a $install/usr/bin $fs/usr |
pascal@14999 | 43 cp -a $install/usr/share/icons $fs/usr/share |
erjo@15706 | 44 } |
erjo@15705 | 45 |
erjo@15706 | 46 # Post installation custom. |
erjo@15706 | 47 post_install() |
erjo@15706 | 48 { |
pascal@18730 | 49 [ -x "$1/usr/bin/gtk-update-icon-cache" ] && |
pascal@17552 | 50 chroot "$1/" gtk-update-icon-cache -f -t /usr/share/icons/hicolor |
erjo@1239 | 51 } |