wok view claws-mail/receipt @ rev 24072
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jul 07 17:56:16 2021 +0000 (2021-07-07) |
parents | 93d12db6c664 |
children | 740670fa4830 |
line source
1 # SliTaz package receipt.
3 PACKAGE="claws-mail"
4 VERSION="3.17.5"
5 CATEGORY="network"
6 TAGS="email client"
7 SHORT_DESC="The user-firendly, lightweight and fast email client."
8 MAINTAINER="erjo@slitaz.org"
9 LICENSE="GPL3"
10 WEB_SITE="https://www.claws-mail.org/index.php"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="https://www.claws-mail.org/releases/$TARBALL"
15 DEPENDS="dbus dbus-glib enchant expat gcc-lib-base gpgme gtk+ libcurl
16 libdb libetpan libgcrypt libgnutls libical libsasl libtasn1
17 libunistring startup-notification xorg-libICE xorg-libSM xorg-libX11
18 xorg-libXau xorg-libXcomposite xorg-libXcursor xorg-libXdamage
19 xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXinerama
20 xorg-libXrandr xorg-libXrender"
21 BUILD_DEPENDS="acl-dev attr-dev curl-dev cyrus-sasl-dev db-dev dbus-dev
22 enchant expat-dev ghostscript-dev glib-dev gnutls-dev gpgme-dev
23 gtk+-dev lcms-dev libarchive-dev libassuan-dev libetpan-dev
24 libgnome-keyring-dev libgnutls libgpg-error-dev libical-dev
25 libidn-dev liblzma-dev libunistring-dev libwebkit-dev libxslt-dev
26 perl-dev pkg-config poppler-dev pygtk-dev python-dev util-linux-uuid-dev
27 xcb-util-dev xorg-dev xorg-libXcomposite-dev xorg-libXcursor-dev
28 xorg-libXdamage-dev xorg-libXinerama-dev xorg-libXrandr-dev
29 xorg-libXt-dev ytnef-dev pkg-config"
31 # Rules to configure and make the package.
32 compile_rules()
33 {
34 ./configure \
35 WEBKIT_CFLAGS="-I/usr/include/webkitgtk-1.0" \
36 WEBKIT_LIBS="/usr/lib/libwebkitgtk-1.0.so" \
37 --disable-ldap \
38 --disable-jpilot \
39 $CONFIGURE_ARGS &&
40 make &&
41 make install
42 }
44 # Rules to gen a SliTaz package suitable for Tazpkg.
45 genpkg_rules()
46 {
47 mkdir -p $fs/usr/share
48 mkdir -p $fs/usr/lib/$PACKAGE/plugins
50 cp -a $install/usr/bin $fs/usr
51 cp -a $install/usr/share/icons $fs/usr/share
52 }
54 # Post installation custom.
55 post_install()
56 {
57 [ -x "$1/usr/bin/gtk-update-icon-cache" ] &&
58 chroot "$1/" gtk-update-icon-cache -f -t /usr/share/icons/hicolor
59 }