wok-current view pidgin/receipt @ rev 25685

Add checkspace / fetchall feature for tazpkg
author Stanislas Leduc <shann@slitaz.org>
date Thu Mar 14 20:28:39 2024 +0000 (8 months ago)
parents 1b47827a7c64
children
line source
1 # SliTaz package receipt.
3 PACKAGE="pidgin"
4 VERSION="2.14.8"
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 current_version()
25 {
26 wget -O - https://sourceforge.net/projects/$PACKAGE/files/Pidgin 2>/dev/null | \
27 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
28 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
29 }
31 # Rules to configure and make the package.
32 compile_rules()
33 {
34 touch pidgin.desktop
36 # 2.14.8 to avoid
37 # diff: can't stat 'package_revision_raw.txt': No such file or directory
38 touch package_revision_raw.txt
40 # Pidgin doesn't explicitly link to libm
41 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries"
43 ./configure \
44 --prefix=/usr \
45 --infodir=/usr/share/info \
46 --mandir=/usr/share/man \
47 --disable-gevolution \
48 --disable-perl \
49 --disable-screensaver \
50 --disable-gtkspell \
51 --disable-gstreamer \
52 --disable-gstreamer-interfaces \
53 --disable-meanwhile \
54 --disable-avahi \
55 --disable-nm \
56 --disable-tcl \
57 --disable-tk \
58 --disable-dbus \
59 --disable-vv \
60 --disable-idn \
61 --disable-sm \
62 $CONFIGURE_ARGS &&
63 make &&
64 make install
65 cd finch
66 make
67 }
69 # Rules to gen a SliTaz package suitable for Tazpkg.
70 genpkg_rules()
71 {
72 mkdir -p $fs/usr/lib
73 mkdir -p $fs/usr/share/pixmaps
75 cp -a $install/usr/bin $fs/usr
76 cp -a $install/usr/lib/*.so* $fs/usr/lib
77 cp -a $install/usr/lib/pidgin $fs/usr/lib
78 cp -a $install/usr/lib/purple-2 $fs/usr/lib
79 rm $fs/usr/lib/pidgin/*.la
80 rm $fs/usr/lib/purple-2/*.la
81 cp -a $install/usr/share/purple $fs/usr/share
82 cp -a $install/usr/share/pixmaps/pidgin $fs/usr/share/pixmaps
83 cp -a $install/usr/share/icons/hicolor/24x24/apps/* \
84 $fs/usr/share/pixmaps
85 }