wok view pidgin/receipt @ rev 24679
updated iso-codes (4.4 -> 4.9.0)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Mar 12 09:36:26 2022 +0100 (2022-03-12) |
parents | 4bae0fb81a17 |
children | 1b47827a7c64 |
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/$PACKAGE/$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 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 }
67 # Rules to gen a SliTaz package suitable for Tazpkg.
68 genpkg_rules()
69 {
70 mkdir -p $fs/usr/lib
71 mkdir -p $fs/usr/share/pixmaps
73 cp -a $install/usr/bin $fs/usr
74 cp -a $install/usr/lib/*.so* $fs/usr/lib
75 cp -a $install/usr/lib/pidgin $fs/usr/lib
76 cp -a $install/usr/lib/purple-2 $fs/usr/lib
77 rm $fs/usr/lib/pidgin/*.la
78 rm $fs/usr/lib/purple-2/*.la
79 cp -a $install/usr/share/purple $fs/usr/share
80 cp -a $install/usr/share/pixmaps/pidgin $fs/usr/share/pixmaps
81 cp -a $install/usr/share/icons/hicolor/24x24/apps/* \
82 $fs/usr/share/pixmaps
83 }