wok-next annotate pidgin/receipt @ rev 9857

obconf: fix BUILD_DEPENDS (again)
author Christophe Lincoln <pankso@slitaz.org>
date Mon May 16 15:34:53 2011 +0200 (2011-05-16)
parents 8473aa998aab
children 5d82e62b9b12
rev   line source
pankso@41 1 # SliTaz package receipt.
pankso@41 2
pankso@41 3 PACKAGE="pidgin"
slaxemulator@9209 4 VERSION="2.7.11"
pankso@186 5 CATEGORY="network"
pankso@41 6 SHORT_DESC="Instant messaging client using GTK+."
pankso@41 7 MAINTAINER="pankso@slitaz.org"
slaxemulator@7414 8 DEPENDS="gtk+ gnutls libgcrypt libgpg-error startup-notification \
slaxemulator@6890 9 xorg-libXdamage libxml2 libxcb xcb-util libidn ncursesw libtasn1 nss"
slaxemulator@7414 10 BUILD_DEPENDS="gtk+-dev libgcrypt-dev gnutls-dev \
slaxemulator@6890 11 startup-notification-dev libgpg-error-dev libxml2-dev libxcb-dev \
slaxemulator@6890 12 libidn-dev libtasn1-dev intltool expat-dev nss-dev \
slaxemulator@6890 13 ncursesw-dev xcb-util-dev"
pankso@41 14 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@41 15 WEB_SITE="http://www.pidgin.im/"
pankso@41 16 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pankso@41 17
pankso@41 18 # Rules to configure and make the package.
pankso@41 19 compile_rules()
pankso@41 20 {
pankso@41 21 cd $src
pankso@3634 22 touch pidgin.desktop
pankso@186 23 MSGFMT=/usr/bin/msgfmt
pankso@186 24 ./configure \
pankso@186 25 --prefix=/usr \
pankso@186 26 --infodir=/usr/share/info \
pankso@186 27 --mandir=/usr/share/man \
pankso@186 28 --disable-perl \
pankso@912 29 --disable-screensaver \
pankso@912 30 --disable-gtkspell \
pankso@912 31 --disable-gstreamer \
devl547@5548 32 --disable-gstreamer-interfaces \
pankso@912 33 --disable-meanwhile \
pankso@912 34 --disable-avahi \
pankso@912 35 --disable-nm \
pankso@912 36 --disable-tcl \
devl547@5548 37 --disable-tk \
pankso@912 38 --disable-dbus \
devl547@5548 39 --disable-farsight \
pankso@4076 40 --disable-vv \
devl547@5548 41 --disable-idn \
slaxemulator@6212 42 --disable-sm \
pascal@2522 43 $CONFIGURE_ARGS &&
pascal@5781 44 make -j 4 &&
pankso@41 45 make DESTDIR=$PWD/_pkg install
pankso@41 46 }
pankso@41 47
pankso@41 48 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@41 49 genpkg_rules()
pankso@41 50 {
pankso@186 51 mkdir -p $fs/usr/lib $fs/usr/share/pixmaps
pankso@41 52 cp -a $_pkg/usr/bin $fs/usr
pankso@41 53 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pankso@41 54 cp -a $_pkg/usr/lib/pidgin $fs/usr/lib
pankso@41 55 cp -a $_pkg/usr/lib/purple-2 $fs/usr/lib
pankso@41 56 rm $fs/usr/lib/pidgin/*.la
pankso@41 57 rm $fs/usr/lib/purple-2/*.la
pankso@41 58 cp -a $_pkg/usr/share/purple $fs/usr/share
pankso@41 59 cp -a $_pkg/usr/share/pixmaps/pidgin $fs/usr/share/pixmaps
pankso@41 60 cp -a $_pkg/usr/share/icons/hicolor/24x24/apps/* $fs/usr/share/pixmaps
pankso@3634 61 # Cook wanted
pankso@3634 62 echo "Cook: pidgin-dev"
pankso@3634 63 echo "Cook: libpurple-dev"
pankso@41 64 }
pankso@41 65