wok view pidgin/receipt @ rev 25773

cookutils: fix svg compressor
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 13 16:25:52 2024 +0000 (2 months ago)
parents 29df00e1e19d
children
line source
1 # SliTaz package receipt.
3 PACKAGE="pidgin"
4 VERSION="2.14.13"
5 CATEGORY="network"
6 SHORT_DESC="Instant messaging client using GTK+."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.pidgin.im/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="$SF_MIRROR/project/$PACKAGE/Pidgin/$VERSION/$TARBALL"
14 PROVIDE="purple"
15 DEPENDS="cyrus-sasl gmp gnutls gtk+ libgcrypt libgpg-error libidn libtasn1 libxcb
16 libxml2 ncursesw nss startup-notification xcb-util xorg-libXdamage"
17 BUILD_DEPENDS="cyrus-sasl-dev expat-dev GConf gmp-dev gnutls-dev gtk+-dev
18 intltool libgcrypt-dev libgpg-error-dev libidn-dev libtasn1-dev
19 libxcb-dev libxml2-dev ncursesw-dev nss-dev startup-notification-dev
20 libgnt-dev xcb-util-dev"
22 # @maintainer: Please update also libpurple-dev
24 # Rules to configure and make the package.
25 current_version()
26 {
27 wget -O - https://sourceforge.net/projects/$PACKAGE/files/Pidgin 2>/dev/null | \
28 sed '/scope="row/!d;s|.*a href="|"https://sourceforge.net|;s| .*||;q' | xargs wget -O - 2>/dev/null | \
29 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
30 }
32 # Rules to configure and make the package.
33 compile_rules()
34 {
35 touch pidgin.desktop
37 # 2.14.8 to avoid
38 # diff: can't stat 'package_revision_raw.txt': No such file or directory
39 touch package_revision_raw.txt
41 # Pidgin doesn't explicitly link to libm
42 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries"
44 ./configure \
45 --prefix=/usr \
46 --infodir=/usr/share/info \
47 --mandir=/usr/share/man \
48 --disable-gevolution \
49 --disable-perl \
50 --disable-screensaver \
51 --disable-gtkspell \
52 --disable-gstreamer \
53 --disable-gstreamer-interfaces \
54 --disable-meanwhile \
55 --disable-avahi \
56 --disable-nm \
57 --disable-tcl \
58 --disable-tk \
59 --disable-dbus \
60 --disable-vv \
61 --disable-idn \
62 --disable-sm \
63 $CONFIGURE_ARGS &&
64 make &&
65 make install
66 cd finch
67 make
68 }
70 # Rules to gen a SliTaz package suitable for Tazpkg.
71 genpkg_rules()
72 {
73 mkdir -p $fs/usr/lib
74 mkdir -p $fs/usr/share/pixmaps
76 cp -a $install/usr/bin $fs/usr
77 cp -a $install/usr/lib/*.so* $fs/usr/lib
78 cp -a $install/usr/lib/pidgin $fs/usr/lib
79 cp -a $install/usr/lib/purple-2 $fs/usr/lib
80 rm $fs/usr/lib/pidgin/*.la
81 rm $fs/usr/lib/purple-2/*.la
82 cp -a $install/usr/share/purple $fs/usr/share
83 cp -a $install/usr/share/pixmaps/pidgin $fs/usr/share/pixmaps
84 cp -a $install/usr/share/icons/hicolor/24x24/apps/* \
85 $fs/usr/share/pixmaps
86 }