wok-6.x view claws-mail/receipt @ rev 24982
Update some wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun May 08 13:06:36 2022 +0000 (2022-05-08) |
parents | 740670fa4830 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="claws-mail"
4 VERSION="3.18.0"
5 CATEGORY="network"
6 TAGS="email client"
7 SHORT_DESC="The user-friendly, 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 SUGGESTED="claws-mail-lang"
16 DEPENDS="dbus dbus-glib enchant expat gcc-lib-base gpgme gtk+ libcurl
17 libdb libetpan libgcrypt libgnutls libical libsasl libtasn1
18 libxml2 startup-notification xorg-libICE xorg-libSM xorg-libX11
19 xorg-libXau xorg-libXcomposite xorg-libXcursor xorg-libXdamage
20 xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXinerama
21 xorg-libXrandr xorg-libXrender ytnef"
22 BUILD_DEPENDS="acl-dev attr-dev curl-dev cyrus-sasl-dev db-dev dbus-dev
23 enchant expat-dev ghostscript-dev glib-dev gnutls-dev gpgme-dev
24 gtk+-dev lcms-dev libarchive-dev libassuan-dev libetpan-dev
25 libgnome-keyring-dev libgpg-error-dev libical-dev libidn-dev
26 liblzma-dev libwebkit libwebkit-dev libxml2-dev libxslt-dev perl
27 perl-dev pkg-config poppler-dev pygtk-dev python-dev
28 util-linux-uuid-dev xcb-util-dev xorg-dev xorg-libXcomposite-dev
29 xorg-libXcursor-dev xorg-libXdamage-dev xorg-libXinerama-dev
30 xorg-libXrandr-dev xorg-libXt-dev ytnef-dev"
32 # What is the latest version available today?
33 current_version()
34 {
35 wget -O - ${WGET_URL%/*} 2>/dev/null | \
36 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
37 }
39 # Rules to configure and make the package.
40 compile_rules()
41 {
42 ./configure \
43 WEBKIT_CFLAGS="-I/usr/include/webkitgtk-1.0" \
44 WEBKIT_LIBS="/usr/lib/libwebkitgtk-1.0.so" \
45 --disable-jpilot \
46 --disable-ldap \
47 --enable-perl-plugin \
48 $CONFIGURE_ARGS &&
49 make &&
50 make install
51 }
53 # Rules to gen a SliTaz package suitable for Tazpkg.
54 genpkg_rules()
55 {
56 mkdir -p $fs/usr/share
57 mkdir -p $fs/usr/lib/$PACKAGE/plugins
59 cp -a $install/usr/bin $fs/usr
60 cp -a $install/usr/share/icons $fs/usr/share
61 }
63 # Post installation custom.
64 post_install()
65 {
66 [ -x "$1/usr/bin/gtk-update-icon-cache" ] &&
67 chroot "$1/" gtk-update-icon-cache -f -t /usr/share/icons/hicolor
68 }