wok-next view pidgin/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents d5aab818505e
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="pidgin"
4 VERSION="2.12.0"
5 CATEGORY="network"
6 SHORT_DESC="Instant messaging client using GTK+"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.pidgin.im/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 BUILD_DEPENDS="gtk2-dev libgcrypt-dev gnutls-dev \
15 startup-notification-dev libgpg-error-dev libxml2-dev libxcb-dev \
16 libidn-dev libtasn1-dev intltool expat-dev nss-dev \
17 ncurses-dev xcb-util-dev gmp-dev"
18 SPLIT="libpurple libpurple-dev $PACKAGE $PACKAGE-dev"
20 compile_rules() {
21 touch pidgin.desktop package_revision_raw.txt
22 MSGFMT=/usr/bin/msgfmt
24 # Pidgin doesn't explicitly link to libm
25 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries"
27 ./configure \
28 --disable-perl \
29 --disable-screensaver \
30 --disable-gtkspell \
31 --disable-gstreamer \
32 --disable-gstreamer-interfaces \
33 --disable-meanwhile \
34 --disable-avahi \
35 --disable-nm \
36 --disable-tcl \
37 --disable-tk \
38 --disable-dbus \
39 --disable-farsight \
40 --disable-vv \
41 --disable-idn \
42 --disable-sm \
43 $CONFIGURE_ARGS &&
44 fix libtool &&
45 make -j4 &&
46 make install
47 }
49 genpkg_rules() {
50 case $PACKAGE in
51 libpurple)
52 copy libpurple.so* purple-2/*.so*
53 CAT="network|Purple library"
54 ;;
55 libpurple-dev)
56 copy purple.pc include/libpurple/
57 CAT="development|Purple library development files"
58 DEPENDS="glib-dev libpurple"
59 ;;
60 pidgin)
61 copy @std @rm
62 DEPENDS="gtk2 gnutls libgcrypt libgpg-error libpurple \
63 startup-notification gmp libxdamage libxml2 \
64 libxcb xcb-util libidn ncurses libtasn1 nss"
65 PROVIDE="purple"
66 ;;
67 pidgin-dev)
68 copy @dev @rm
69 ;;
70 esac
71 }