wok annotate pidgin/receipt @ rev 21586

updated nspr and nspr-dev (4.10.8 -> 4.21)
author Hans-G?nter Theisgen
date Mon May 20 13:58:55 2019 +0100 (2019-05-20)
parents 4e519df1c7b9
children 5eee27c40050
rev   line source
pankso@41 1 # SliTaz package receipt.
pankso@41 2
pankso@41 3 PACKAGE="pidgin"
devl547@16198 4 VERSION="2.10.9"
pankso@186 5 CATEGORY="network"
pankso@41 6 SHORT_DESC="Instant messaging client using GTK+."
pankso@41 7 MAINTAINER="pankso@slitaz.org"
pascal@15001 8 LICENSE="GPL2"
pankso@41 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@41 10 WEB_SITE="http://www.pidgin.im/"
pankso@41 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@16678 12 PROVIDE="purple"
pankso@41 13
slaxemulator@12419 14 DEPENDS="gtk+ gnutls libgcrypt libgpg-error startup-notification gmp \
slaxemulator@12419 15 xorg-libXdamage libxml2 libxcb xcb-util libidn ncursesw libtasn1 nss"
slaxemulator@12419 16 BUILD_DEPENDS="gtk+-dev libgcrypt-dev gnutls-dev \
slaxemulator@12419 17 startup-notification-dev libgpg-error-dev libxml2-dev libxcb-dev \
slaxemulator@12419 18 libidn-dev libtasn1-dev intltool expat-dev nss-dev \
slaxemulator@12419 19 ncursesw-dev xcb-util-dev gmp-dev"
slaxemulator@12419 20
pankso@41 21 # Rules to configure and make the package.
pankso@41 22 compile_rules()
pankso@41 23 {
pankso@41 24 cd $src
pankso@3634 25 touch pidgin.desktop
pankso@186 26 MSGFMT=/usr/bin/msgfmt
slaxemulator@12419 27
slaxemulator@12419 28 # Pidgin doesn't explicitly link to libm
pascal@17670 29 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries"
pankso@186 30 ./configure \
pankso@186 31 --prefix=/usr \
pankso@186 32 --infodir=/usr/share/info \
pankso@186 33 --mandir=/usr/share/man \
pankso@186 34 --disable-perl \
pankso@912 35 --disable-screensaver \
pankso@912 36 --disable-gtkspell \
pankso@912 37 --disable-gstreamer \
devl547@5548 38 --disable-gstreamer-interfaces \
pankso@912 39 --disable-meanwhile \
pankso@912 40 --disable-avahi \
pankso@912 41 --disable-nm \
pankso@912 42 --disable-tcl \
devl547@5548 43 --disable-tk \
pankso@912 44 --disable-dbus \
devl547@5548 45 --disable-farsight \
pankso@4076 46 --disable-vv \
devl547@5548 47 --disable-idn \
slaxemulator@6212 48 --disable-sm \
pascal@2522 49 $CONFIGURE_ARGS &&
slaxemulator@12419 50 make -j 4 &&
slaxemulator@12419 51 make install
pankso@41 52 }
pankso@41 53
pankso@41 54 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@41 55 genpkg_rules()
pankso@41 56 {
slaxemulator@12419 57 mkdir -p $fs/usr/lib $fs/usr/share/pixmaps
slaxemulator@12419 58 cp -a $install/usr/bin $fs/usr
slaxemulator@12419 59 cp -a $install/usr/lib/*.so* $fs/usr/lib
slaxemulator@12419 60 cp -a $install/usr/lib/pidgin $fs/usr/lib
slaxemulator@12419 61 cp -a $install/usr/lib/purple-2 $fs/usr/lib
pankso@41 62 rm $fs/usr/lib/pidgin/*.la
pankso@41 63 rm $fs/usr/lib/purple-2/*.la
slaxemulator@12419 64 cp -a $install/usr/share/purple $fs/usr/share
slaxemulator@12419 65 cp -a $install/usr/share/pixmaps/pidgin $fs/usr/share/pixmaps
slaxemulator@12419 66 cp -a $install/usr/share/icons/hicolor/24x24/apps/* $fs/usr/share/pixmaps
pankso@3634 67 # Cook wanted
pankso@3634 68 echo "Cook: pidgin-dev"
pankso@3634 69 echo "Cook: libpurple-dev"
pankso@41 70 }
pankso@41 71