wok-next annotate 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
rev   line source
pascal@19963 1 # SliTaz package receipt v2.
pankso@41 2
pankso@41 3 PACKAGE="pidgin"
pascal@19963 4 VERSION="2.12.0"
pankso@186 5 CATEGORY="network"
al@20557 6 SHORT_DESC="Instant messaging client using GTK+"
pankso@41 7 MAINTAINER="pankso@slitaz.org"
pascal@15001 8 LICENSE="GPL2"
al@20557 9 WEB_SITE="http://www.pidgin.im/"
al@20557 10
pankso@41 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@41 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
al@20557 13
slaxemulator@12419 14 BUILD_DEPENDS="gtk+-dev libgcrypt-dev gnutls-dev \
al@20447 15 startup-notification-dev libgpg-error-dev libxml2-dev xorg-libxcb-dev \
slaxemulator@12419 16 libidn-dev libtasn1-dev intltool expat-dev nss-dev \
al@20450 17 ncurses-dev xorg-xcb-util-dev gmp-dev"
pascal@20125 18 SPLIT="libpurple libpurple-dev pidgin pidgin-dev"
slaxemulator@12419 19
al@20557 20 compile_rules() {
pascal@19963 21 touch pidgin.desktop package_revision_raw.txt
pankso@186 22 MSGFMT=/usr/bin/msgfmt
al@20557 23
slaxemulator@12419 24 # Pidgin doesn't explicitly link to libm
pascal@17670 25 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries"
pankso@186 26 ./configure \
pankso@186 27 --disable-perl \
pankso@912 28 --disable-screensaver \
pankso@912 29 --disable-gtkspell \
pankso@912 30 --disable-gstreamer \
devl547@5548 31 --disable-gstreamer-interfaces \
pankso@912 32 --disable-meanwhile \
pankso@912 33 --disable-avahi \
pankso@912 34 --disable-nm \
pankso@912 35 --disable-tcl \
devl547@5548 36 --disable-tk \
pankso@912 37 --disable-dbus \
devl547@5548 38 --disable-farsight \
pankso@4076 39 --disable-vv \
devl547@5548 40 --disable-idn \
slaxemulator@6212 41 --disable-sm \
pascal@2522 42 $CONFIGURE_ARGS &&
slaxemulator@12419 43 make -j 4 &&
slaxemulator@12419 44 make install
pankso@41 45 }
pankso@41 46
al@20557 47 genpkg_rules() {
pascal@19963 48 case $PACKAGE in
al@20557 49 libpurple)
al@20557 50 copy libpurple.so* purple-2/*.so*
al@20557 51 CAT="network|Purple library"
al@20557 52 ;;
al@20557 53 libpurple-dev)
al@20557 54 copy purple.pc include/libpurple/
al@20557 55 CAT="development|Purple library development files"
al@20557 56 DEPENDS="glib-dev libpurple"
al@20557 57 ;;
al@20557 58 pidgin)
al@20557 59 copy @std @rm
al@20557 60 DEPENDS="gtk+ gnutls libgcrypt libgpg-error libpurple \
pascal@19963 61 startup-notification gmp xorg-libXdamage libxml2 \
al@20450 62 xorg-libxcb xorg-xcb-util libidn ncurses libtasn1 nss"
al@20557 63 PROVIDE="purple"
al@20557 64 ;;
al@20557 65 pidgin-dev)
al@20557 66 copy @dev @rm
al@20557 67 ;;
pascal@19963 68 esac
pankso@41 69 }