wok-next view pidgin/receipt @ rev 20564
shell-detector, screenfetch: create $install tree
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Apr 10 10:14:26 2018 +0200 (2018-04-10) |
parents | d43bf7aae921 |
children | 10df65db91ad |
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="pankso@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="gtk+-dev libgcrypt-dev gnutls-dev \
15 startup-notification-dev libgpg-error-dev libxml2-dev xorg-libxcb-dev \
16 libidn-dev libtasn1-dev intltool expat-dev nss-dev \
17 ncurses-dev xorg-xcb-util-dev gmp-dev"
18 SPLIT="libpurple libpurple-dev pidgin pidgin-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"
26 ./configure \
27 --disable-perl \
28 --disable-screensaver \
29 --disable-gtkspell \
30 --disable-gstreamer \
31 --disable-gstreamer-interfaces \
32 --disable-meanwhile \
33 --disable-avahi \
34 --disable-nm \
35 --disable-tcl \
36 --disable-tk \
37 --disable-dbus \
38 --disable-farsight \
39 --disable-vv \
40 --disable-idn \
41 --disable-sm \
42 $CONFIGURE_ARGS &&
43 make -j 4 &&
44 make install
45 }
47 genpkg_rules() {
48 case $PACKAGE in
49 libpurple)
50 copy libpurple.so* purple-2/*.so*
51 CAT="network|Purple library"
52 ;;
53 libpurple-dev)
54 copy purple.pc include/libpurple/
55 CAT="development|Purple library development files"
56 DEPENDS="glib-dev libpurple"
57 ;;
58 pidgin)
59 copy @std @rm
60 DEPENDS="gtk+ gnutls libgcrypt libgpg-error libpurple \
61 startup-notification gmp xorg-libXdamage libxml2 \
62 xorg-libxcb xorg-xcb-util libidn ncurses libtasn1 nss"
63 PROVIDE="purple"
64 ;;
65 pidgin-dev)
66 copy @dev @rm
67 ;;
68 esac
69 }