wok annotate pidgin/receipt @ rev 15001

Add some GPL2 licenses
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Aug 10 17:48:05 2013 +0000 (2013-08-10)
parents 76116051c3d9
children f31f5f714ee4
rev   line source
pankso@41 1 # SliTaz package receipt.
pankso@41 2
pankso@41 3 PACKAGE="pidgin"
devl547@13735 4 VERSION="2.10.6"
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"
pankso@41 12
slaxemulator@12419 13 DEPENDS="gtk+ gnutls libgcrypt libgpg-error startup-notification gmp \
slaxemulator@12419 14 xorg-libXdamage libxml2 libxcb xcb-util libidn ncursesw libtasn1 nss"
slaxemulator@12419 15 BUILD_DEPENDS="gtk+-dev libgcrypt-dev gnutls-dev \
slaxemulator@12419 16 startup-notification-dev libgpg-error-dev libxml2-dev libxcb-dev \
slaxemulator@12419 17 libidn-dev libtasn1-dev intltool expat-dev nss-dev \
slaxemulator@12419 18 ncursesw-dev xcb-util-dev gmp-dev"
slaxemulator@12419 19
pankso@41 20 # Rules to configure and make the package.
pankso@41 21 compile_rules()
pankso@41 22 {
pankso@41 23 cd $src
pankso@3634 24 touch pidgin.desktop
pankso@186 25 MSGFMT=/usr/bin/msgfmt
slaxemulator@12419 26
slaxemulator@12419 27 # Pidgin doesn't explicitly link to libm
slaxemulator@12419 28 export LDFLAGS="-Wl,--copy-dt-needed-entries"
pankso@186 29 ./configure \
pankso@186 30 --prefix=/usr \
pankso@186 31 --infodir=/usr/share/info \
pankso@186 32 --mandir=/usr/share/man \
pankso@186 33 --disable-perl \
pankso@912 34 --disable-screensaver \
pankso@912 35 --disable-gtkspell \
pankso@912 36 --disable-gstreamer \
devl547@5548 37 --disable-gstreamer-interfaces \
pankso@912 38 --disable-meanwhile \
pankso@912 39 --disable-avahi \
pankso@912 40 --disable-nm \
pankso@912 41 --disable-tcl \
devl547@5548 42 --disable-tk \
pankso@912 43 --disable-dbus \
devl547@5548 44 --disable-farsight \
pankso@4076 45 --disable-vv \
devl547@5548 46 --disable-idn \
slaxemulator@6212 47 --disable-sm \
pascal@2522 48 $CONFIGURE_ARGS &&
slaxemulator@12419 49 make -j 4 &&
slaxemulator@12419 50 make install
pankso@41 51 }
pankso@41 52
pankso@41 53 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@41 54 genpkg_rules()
pankso@41 55 {
slaxemulator@12419 56 mkdir -p $fs/usr/lib $fs/usr/share/pixmaps
slaxemulator@12419 57 cp -a $install/usr/bin $fs/usr
slaxemulator@12419 58 cp -a $install/usr/lib/*.so* $fs/usr/lib
slaxemulator@12419 59 cp -a $install/usr/lib/pidgin $fs/usr/lib
slaxemulator@12419 60 cp -a $install/usr/lib/purple-2 $fs/usr/lib
pankso@41 61 rm $fs/usr/lib/pidgin/*.la
pankso@41 62 rm $fs/usr/lib/purple-2/*.la
slaxemulator@12419 63 cp -a $install/usr/share/purple $fs/usr/share
slaxemulator@12419 64 cp -a $install/usr/share/pixmaps/pidgin $fs/usr/share/pixmaps
slaxemulator@12419 65 cp -a $install/usr/share/icons/hicolor/24x24/apps/* $fs/usr/share/pixmaps
pankso@3634 66 # Cook wanted
pankso@3634 67 echo "Cook: pidgin-dev"
pankso@3634 68 echo "Cook: libpurple-dev"
pankso@41 69 }
pankso@41 70