wok-next annotate pidgin/receipt @ rev 20011
cairo-dock: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Oct 21 18:36:22 2017 +0200 (2017-10-21) |
parents | 6c12ac1293fc |
children | 522148bca4d8 |
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" |
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" |
slaxemulator@12419 | 12 BUILD_DEPENDS="gtk+-dev libgcrypt-dev gnutls-dev \ |
slaxemulator@12419 | 13 startup-notification-dev libgpg-error-dev libxml2-dev libxcb-dev \ |
slaxemulator@12419 | 14 libidn-dev libtasn1-dev intltool expat-dev nss-dev \ |
pascal@19952 | 15 ncurses-dev xcb-util-dev gmp-dev" |
pascal@19963 | 16 SPLIT="libpurple-dev pidgin pidgin-dev" |
slaxemulator@12419 | 17 |
pankso@41 | 18 # Rules to configure and make the package. |
pankso@41 | 19 compile_rules() |
pankso@41 | 20 { |
pascal@19963 | 21 touch pidgin.desktop package_revision_raw.txt |
pankso@186 | 22 MSGFMT=/usr/bin/msgfmt |
slaxemulator@12419 | 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 --prefix=/usr \ |
pankso@186 | 28 --infodir=/usr/share/info \ |
pankso@186 | 29 --mandir=/usr/share/man \ |
pankso@186 | 30 --disable-perl \ |
pankso@912 | 31 --disable-screensaver \ |
pankso@912 | 32 --disable-gtkspell \ |
pankso@912 | 33 --disable-gstreamer \ |
devl547@5548 | 34 --disable-gstreamer-interfaces \ |
pankso@912 | 35 --disable-meanwhile \ |
pankso@912 | 36 --disable-avahi \ |
pankso@912 | 37 --disable-nm \ |
pankso@912 | 38 --disable-tcl \ |
devl547@5548 | 39 --disable-tk \ |
pankso@912 | 40 --disable-dbus \ |
devl547@5548 | 41 --disable-farsight \ |
pankso@4076 | 42 --disable-vv \ |
devl547@5548 | 43 --disable-idn \ |
slaxemulator@6212 | 44 --disable-sm \ |
pascal@2522 | 45 $CONFIGURE_ARGS && |
slaxemulator@12419 | 46 make -j 4 && |
slaxemulator@12419 | 47 make install |
pankso@41 | 48 } |
pankso@41 | 49 |
pankso@41 | 50 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@41 | 51 genpkg_rules() |
pankso@41 | 52 { |
pascal@19963 | 53 case $PACKAGE in |
pascal@19963 | 54 pidgin) |
pascal@19963 | 55 PROVIDE="purple" |
pascal@19963 | 56 DEPENDS="gtk+ gnutls libgcrypt libgpg-error \ |
pascal@19963 | 57 startup-notification gmp xorg-libXdamage libxml2 \ |
pascal@19963 | 58 libxcb xcb-util libidn ncurses libtasn1 nss" |
pascal@19963 | 59 mkdir -p $fs/usr/lib $fs/usr/share/pixmaps |
pascal@19963 | 60 cp -a $install/usr/bin $fs/usr |
pascal@19963 | 61 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@19963 | 62 cp -a $install/usr/lib/pidgin $fs/usr/lib |
pascal@19963 | 63 cp -a $install/usr/lib/purple-2 $fs/usr/lib |
pascal@19963 | 64 rm $fs/usr/lib/pidgin/*.la |
pascal@19963 | 65 rm $fs/usr/lib/purple-2/*.la |
pascal@19963 | 66 cp -a $install/usr/share/purple $fs/usr/share |
pascal@19963 | 67 cp -a $install/usr/share/pixmaps/pidgin $fs/usr/share/pixmaps |
pascal@19963 | 68 cp -a $install/usr/share/icons/hicolor/24x24/apps/* $fs/usr/share/pixmaps |
pascal@19963 | 69 ;; |
pascal@19963 | 70 pidgin-dev) |
pascal@19963 | 71 CAT="development|Pidgin devel files." |
pascal@19963 | 72 DEPENDS="pkg-config" |
pascal@19963 | 73 mkdir -p $fs/usr/lib/pkgconfig $fs/usr/lib/pidgin $fs/usr/include/pidgin $fs/usr/share |
pascal@19963 | 74 cp -a $install/usr/lib/pidgin/*.la $fs/usr/lib/pidgin |
pascal@19963 | 75 cp -a $install/usr/lib/pkgconfig/pidgin.pc $fs/usr/lib/pkgconfig |
pascal@19963 | 76 cp -a $install/usr/include/pidgin $fs/usr/include |
pascal@19963 | 77 cp -a $install/usr/share/aclocal $fs/usr/share |
pascal@19963 | 78 ;; |
pascal@19963 | 79 libpurple-dev) |
pascal@19963 | 80 CAT="development|Purple library devel files." |
pascal@19963 | 81 DEPENDS="pkg-config" |
pascal@19963 | 82 mkdir -p $fs/usr/lib/pkgconfig $fs/usr/lib/purple-2 $fs/usr/include/libpurple |
pascal@19963 | 83 cp -a $install/usr/lib/libpurple.la $fs/usr/lib |
pascal@19963 | 84 cp -a $install/usr/lib/purple-2/*.la $fs/usr/lib/purple-2 |
pascal@19963 | 85 cp -a $install/usr/lib/pkgconfig/purple.pc $fs/usr/lib/pkgconfig |
pascal@19963 | 86 cp -a $install/usr/include/libpurple $fs/usr/include |
pascal@19963 | 87 ;; |
pascal@19963 | 88 esac |
pankso@41 | 89 } |