wok-4.x annotate pidgin/receipt @ rev 11264
Up: gnutls (3.0.7), add nettle (2.4)
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Wed Nov 09 11:54:03 2011 +0000 (2011-11-09) |
parents | d65075aee643 |
children | fafbec11f825 |
rev | line source |
---|---|
pankso@41 | 1 # SliTaz package receipt. |
pankso@41 | 2 |
pankso@41 | 3 PACKAGE="pidgin" |
devl547@11240 | 4 VERSION="2.10.0" |
pankso@186 | 5 CATEGORY="network" |
pankso@41 | 6 SHORT_DESC="Instant messaging client using GTK+." |
pankso@41 | 7 MAINTAINER="pankso@slitaz.org" |
devl547@11240 | 8 DEPENDS="gtk+ gnutls libgcrypt libgpg-error \ |
devl547@11240 | 9 xorg-libXdamage libxml2 libxcb xcb-util libidn libtasn1 nss" |
slaxemulator@7414 | 10 BUILD_DEPENDS="gtk+-dev libgcrypt-dev gnutls-dev \ |
devl547@11240 | 11 libgpg-error-dev libxml2-dev libxcb-dev \ |
slaxemulator@6890 | 12 libidn-dev libtasn1-dev intltool expat-dev nss-dev \ |
devl547@11240 | 13 xcb-util-dev optipng" |
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 |
devl547@11240 | 22 find | grep .png | xargs optipng -o7 |
pankso@3634 | 23 touch pidgin.desktop |
pankso@186 | 24 MSGFMT=/usr/bin/msgfmt |
pankso@186 | 25 ./configure \ |
pankso@186 | 26 --prefix=/usr \ |
pankso@186 | 27 --infodir=/usr/share/info \ |
pankso@186 | 28 --mandir=/usr/share/man \ |
pankso@186 | 29 --disable-perl \ |
devl547@11240 | 30 --disable-consoleui \ |
pankso@912 | 31 --disable-screensaver \ |
pankso@912 | 32 --disable-gtkspell \ |
devl547@11240 | 33 --disable-startup-notification \ |
pankso@912 | 34 --disable-gstreamer \ |
devl547@5548 | 35 --disable-gstreamer-interfaces \ |
pankso@912 | 36 --disable-meanwhile \ |
pankso@912 | 37 --disable-avahi \ |
pankso@912 | 38 --disable-nm \ |
pankso@912 | 39 --disable-tcl \ |
devl547@5548 | 40 --disable-tk \ |
pankso@912 | 41 --disable-dbus \ |
devl547@5548 | 42 --disable-farsight \ |
pankso@4076 | 43 --disable-vv \ |
devl547@5548 | 44 --disable-idn \ |
slaxemulator@6212 | 45 --disable-sm \ |
devl547@11240 | 46 --enable-trayicon-compat \ |
pascal@2522 | 47 $CONFIGURE_ARGS && |
devl547@11240 | 48 make $MAKEFLAGS && |
pankso@41 | 49 make DESTDIR=$PWD/_pkg install |
pankso@41 | 50 } |
pankso@41 | 51 |
pankso@41 | 52 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@41 | 53 genpkg_rules() |
pankso@41 | 54 { |
pankso@186 | 55 mkdir -p $fs/usr/lib $fs/usr/share/pixmaps |
pankso@41 | 56 cp -a $_pkg/usr/bin $fs/usr |
pankso@41 | 57 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@41 | 58 cp -a $_pkg/usr/lib/pidgin $fs/usr/lib |
pankso@41 | 59 cp -a $_pkg/usr/lib/purple-2 $fs/usr/lib |
pankso@41 | 60 rm $fs/usr/lib/pidgin/*.la |
pankso@41 | 61 rm $fs/usr/lib/purple-2/*.la |
pankso@41 | 62 cp -a $_pkg/usr/share/purple $fs/usr/share |
pankso@41 | 63 cp -a $_pkg/usr/share/pixmaps/pidgin $fs/usr/share/pixmaps |
pankso@41 | 64 cp -a $_pkg/usr/share/icons/hicolor/24x24/apps/* $fs/usr/share/pixmaps |
pankso@3634 | 65 # Cook wanted |
pankso@3634 | 66 echo "Cook: pidgin-dev" |
pankso@3634 | 67 echo "Cook: libpurple-dev" |
pankso@41 | 68 } |
pankso@41 | 69 |