wok view pidgin/receipt @ rev 24087
Up tazlito (531)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jul 11 11:04:20 2021 +0000 (2021-07-11) |
parents | 5eee27c40050 |
children | f9da3eefbc96 |
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="https://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 current_version()
22 {
23 wget -O - https://sourceforge.net/projects/$PACKAGE/files/Pidgin 2>/dev/null | \
24 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
25 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
26 }
28 # Rules to configure and make the package.
29 compile_rules()
30 {
31 cd $src
32 touch pidgin.desktop
33 MSGFMT=/usr/bin/msgfmt
35 # Pidgin doesn't explicitly link to libm
36 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries"
37 ./configure \
38 --prefix=/usr \
39 --infodir=/usr/share/info \
40 --mandir=/usr/share/man \
41 --disable-perl \
42 --disable-screensaver \
43 --disable-gtkspell \
44 --disable-gstreamer \
45 --disable-gstreamer-interfaces \
46 --disable-meanwhile \
47 --disable-avahi \
48 --disable-nm \
49 --disable-tcl \
50 --disable-tk \
51 --disable-dbus \
52 --disable-farsight \
53 --disable-vv \
54 --disable-idn \
55 --disable-sm \
56 $CONFIGURE_ARGS &&
57 make -j 4 &&
58 make install
59 }
61 # Rules to gen a SliTaz package suitable for Tazpkg.
62 genpkg_rules()
63 {
64 mkdir -p $fs/usr/lib $fs/usr/share/pixmaps
65 cp -a $install/usr/bin $fs/usr
66 cp -a $install/usr/lib/*.so* $fs/usr/lib
67 cp -a $install/usr/lib/pidgin $fs/usr/lib
68 cp -a $install/usr/lib/purple-2 $fs/usr/lib
69 rm $fs/usr/lib/pidgin/*.la
70 rm $fs/usr/lib/purple-2/*.la
71 cp -a $install/usr/share/purple $fs/usr/share
72 cp -a $install/usr/share/pixmaps/pidgin $fs/usr/share/pixmaps
73 cp -a $install/usr/share/icons/hicolor/24x24/apps/* $fs/usr/share/pixmaps
74 # Cook wanted
75 echo "Cook: pidgin-dev"
76 echo "Cook: libpurple-dev"
77 }