wok view pidgin/receipt @ rev 21186

libexif-gtk-dev build again
author Hans-G?nter Theisgen
date Wed Apr 03 15:08:17 2019 +0100 (2019-04-03)
parents 4e519df1c7b9
children 5eee27c40050
line source
1 # SliTaz package receipt.
3 PACKAGE="pidgin"
4 VERSION="2.10.9"
5 CATEGORY="network"
6 SHORT_DESC="Instant messaging client using GTK+."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.pidgin.im/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 PROVIDE="purple"
14 DEPENDS="gtk+ gnutls libgcrypt libgpg-error startup-notification gmp \
15 xorg-libXdamage libxml2 libxcb xcb-util libidn ncursesw libtasn1 nss"
16 BUILD_DEPENDS="gtk+-dev libgcrypt-dev gnutls-dev \
17 startup-notification-dev libgpg-error-dev libxml2-dev libxcb-dev \
18 libidn-dev libtasn1-dev intltool expat-dev nss-dev \
19 ncursesw-dev xcb-util-dev gmp-dev"
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 cd $src
25 touch pidgin.desktop
26 MSGFMT=/usr/bin/msgfmt
28 # Pidgin doesn't explicitly link to libm
29 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries"
30 ./configure \
31 --prefix=/usr \
32 --infodir=/usr/share/info \
33 --mandir=/usr/share/man \
34 --disable-perl \
35 --disable-screensaver \
36 --disable-gtkspell \
37 --disable-gstreamer \
38 --disable-gstreamer-interfaces \
39 --disable-meanwhile \
40 --disable-avahi \
41 --disable-nm \
42 --disable-tcl \
43 --disable-tk \
44 --disable-dbus \
45 --disable-farsight \
46 --disable-vv \
47 --disable-idn \
48 --disable-sm \
49 $CONFIGURE_ARGS &&
50 make -j 4 &&
51 make install
52 }
54 # Rules to gen a SliTaz package suitable for Tazpkg.
55 genpkg_rules()
56 {
57 mkdir -p $fs/usr/lib $fs/usr/share/pixmaps
58 cp -a $install/usr/bin $fs/usr
59 cp -a $install/usr/lib/*.so* $fs/usr/lib
60 cp -a $install/usr/lib/pidgin $fs/usr/lib
61 cp -a $install/usr/lib/purple-2 $fs/usr/lib
62 rm $fs/usr/lib/pidgin/*.la
63 rm $fs/usr/lib/purple-2/*.la
64 cp -a $install/usr/share/purple $fs/usr/share
65 cp -a $install/usr/share/pixmaps/pidgin $fs/usr/share/pixmaps
66 cp -a $install/usr/share/icons/hicolor/24x24/apps/* $fs/usr/share/pixmaps
67 # Cook wanted
68 echo "Cook: pidgin-dev"
69 echo "Cook: libpurple-dev"
70 }