wok-6.x annotate claws-mail/receipt @ rev 25266
gdk-pixbuf: added dependency libjpeg
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 15 13:56:48 2022 +0100 (2022-07-15) |
parents | 740670fa4830 |
children |
rev | line source |
---|---|
erjo@1239 | 1 # SliTaz package receipt. |
erjo@1239 | 2 |
erjo@1239 | 3 PACKAGE="claws-mail" |
Hans-G?nter@24422 | 4 VERSION="3.18.0" |
pascal@1423 | 5 CATEGORY="network" |
Hans-G?nter@22600 | 6 TAGS="email client" |
Hans-G?nter@24422 | 7 SHORT_DESC="The user-friendly, lightweight and fast email client." |
erjo@1239 | 8 MAINTAINER="erjo@slitaz.org" |
pascal@14999 | 9 LICENSE="GPL3" |
pascal@20421 | 10 WEB_SITE="https://www.claws-mail.org/index.php" |
pankso@9742 | 11 |
Hans-G?nter@22600 | 12 TARBALL="$PACKAGE-$VERSION.tar.xz" |
Hans-G?nter@22600 | 13 WGET_URL="https://www.claws-mail.org/releases/$TARBALL" |
Hans-G?nter@22600 | 14 |
Hans-G?nter@24422 | 15 SUGGESTED="claws-mail-lang" |
Hans-G?nter@24422 | 16 DEPENDS="dbus dbus-glib enchant expat gcc-lib-base gpgme gtk+ libcurl |
Hans-G?nter@22918 | 17 libdb libetpan libgcrypt libgnutls libical libsasl libtasn1 |
Hans-G?nter@24422 | 18 libxml2 startup-notification xorg-libICE xorg-libSM xorg-libX11 |
Hans-G?nter@22600 | 19 xorg-libXau xorg-libXcomposite xorg-libXcursor xorg-libXdamage |
Hans-G?nter@22600 | 20 xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXinerama |
Hans-G?nter@24422 | 21 xorg-libXrandr xorg-libXrender ytnef" |
Hans-G?nter@22600 | 22 BUILD_DEPENDS="acl-dev attr-dev curl-dev cyrus-sasl-dev db-dev dbus-dev |
Hans-G?nter@22600 | 23 enchant expat-dev ghostscript-dev glib-dev gnutls-dev gpgme-dev |
Hans-G?nter@22600 | 24 gtk+-dev lcms-dev libarchive-dev libassuan-dev libetpan-dev |
Hans-G?nter@24422 | 25 libgnome-keyring-dev libgpg-error-dev libical-dev libidn-dev |
Hans-G?nter@24422 | 26 liblzma-dev libwebkit libwebkit-dev libxml2-dev libxslt-dev perl |
Hans-G?nter@24422 | 27 perl-dev pkg-config poppler-dev pygtk-dev python-dev |
Hans-G?nter@24422 | 28 util-linux-uuid-dev xcb-util-dev xorg-dev xorg-libXcomposite-dev |
Hans-G?nter@24422 | 29 xorg-libXcursor-dev xorg-libXdamage-dev xorg-libXinerama-dev |
Hans-G?nter@24422 | 30 xorg-libXrandr-dev xorg-libXt-dev ytnef-dev" |
erjo@1239 | 31 |
pascal@24425 | 32 # What is the latest version available today? |
pascal@24425 | 33 current_version() |
pascal@24425 | 34 { |
pascal@24425 | 35 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24425 | 36 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24425 | 37 } |
pascal@24425 | 38 |
erjo@1239 | 39 # Rules to configure and make the package. |
erjo@1239 | 40 compile_rules() |
erjo@1239 | 41 { |
Hans-G?nter@22600 | 42 ./configure \ |
Hans-G?nter@22600 | 43 WEBKIT_CFLAGS="-I/usr/include/webkitgtk-1.0" \ |
Hans-G?nter@22600 | 44 WEBKIT_LIBS="/usr/lib/libwebkitgtk-1.0.so" \ |
Hans-G?nter@24422 | 45 --disable-jpilot \ |
Hans-G?nter@22600 | 46 --disable-ldap \ |
Hans-G?nter@24422 | 47 --enable-perl-plugin \ |
slaxemulator@10290 | 48 $CONFIGURE_ARGS && |
Hans-G?nter@22600 | 49 make && |
Hans-G?nter@22600 | 50 make install |
erjo@1239 | 51 } |
erjo@1239 | 52 |
erjo@1239 | 53 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@1239 | 54 genpkg_rules() |
erjo@1239 | 55 { |
Hans-G?nter@22600 | 56 mkdir -p $fs/usr/share |
Hans-G?nter@22600 | 57 mkdir -p $fs/usr/lib/$PACKAGE/plugins |
Hans-G?nter@22600 | 58 |
Hans-G?nter@22600 | 59 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@22600 | 60 cp -a $install/usr/share/icons $fs/usr/share |
erjo@15706 | 61 } |
erjo@15705 | 62 |
erjo@15706 | 63 # Post installation custom. |
erjo@15706 | 64 post_install() |
erjo@15706 | 65 { |
pascal@18730 | 66 [ -x "$1/usr/bin/gtk-update-icon-cache" ] && |
pascal@17552 | 67 chroot "$1/" gtk-update-icon-cache -f -t /usr/share/icons/hicolor |
erjo@1239 | 68 } |