wok-next view pidgin/receipt @ rev 20636
Fix "can't execute '/usr/bin/update-mime-database': No such file or directory"
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 27 15:12:17 2018 +0300 (2018-04-27) |
parents | 9e5dca6702bf |
children | f48456621a9d |
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 fix libtool &&
44 make -j 4 &&
45 make install
46 }
48 genpkg_rules() {
49 case $PACKAGE in
50 libpurple)
51 copy libpurple.so* purple-2/*.so*
52 CAT="network|Purple library"
53 ;;
54 libpurple-dev)
55 copy purple.pc include/libpurple/
56 CAT="development|Purple library development files"
57 DEPENDS="glib-dev libpurple"
58 ;;
59 pidgin)
60 copy @std @rm
61 DEPENDS="gtk+ gnutls libgcrypt libgpg-error libpurple \
62 startup-notification gmp xorg-libXdamage libxml2 \
63 xorg-libxcb xorg-xcb-util libidn ncurses libtasn1 nss"
64 PROVIDE="purple"
65 ;;
66 pidgin-dev)
67 copy @dev @rm
68 ;;
69 esac
70 }