wok-6.x annotate pidgin/receipt @ rev 1060

slitaz-base-files: add repack_cleanup in receipt
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jul 15 15:17:39 2008 +0000 (2008-07-15)
parents c2172afd880e
children d5de9141269e
rev   line source
pankso@41 1 # SliTaz package receipt.
pankso@41 2
pankso@41 3 PACKAGE="pidgin"
pankso@990 4 VERSION="2.4.3"
pankso@186 5 CATEGORY="network"
pankso@41 6 SHORT_DESC="Instant messaging client using GTK+."
pankso@41 7 MAINTAINER="pankso@slitaz.org"
pankso@41 8 DEPENDS="gtk+"
pankso@912 9 BUILD_DEPENDS="gtk+-dev gnutls-dev libgcrypt-dev libgpg-error-dev
pankso@912 10 startup-notification-dev"
pankso@41 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
erjo@758 12 SUGGESTED="gnutls"
pankso@41 13 WEB_SITE="http://www.pidgin.im/"
pankso@41 14 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pankso@41 15
pankso@41 16 # Rules to configure and make the package.
pankso@41 17 compile_rules()
pankso@41 18 {
pankso@41 19 cd $src
pankso@186 20 MSGFMT=/usr/bin/msgfmt
pankso@186 21 ./configure \
pankso@186 22 --prefix=/usr \
pankso@186 23 --infodir=/usr/share/info \
pankso@186 24 --mandir=/usr/share/man \
pankso@186 25 --disable-perl \
pankso@912 26 --disable-screensaver \
pankso@912 27 --disable-gtkspell \
pankso@912 28 --disable-gstreamer \
pankso@912 29 --disable-meanwhile \
pankso@912 30 --disable-avahi \
pankso@912 31 --disable-nm \
pankso@912 32 --disable-tcl \
pankso@912 33 --disable-dbus \
pankso@186 34 $CONFIGURE_ARGS
pankso@41 35 make
pankso@41 36 make DESTDIR=$PWD/_pkg install
pankso@41 37 }
pankso@41 38
pankso@41 39 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@41 40 genpkg_rules()
pankso@41 41 {
pankso@186 42 mkdir -p $fs/usr/lib $fs/usr/share/pixmaps
pankso@41 43 cp -a $_pkg/usr/bin $fs/usr
pankso@41 44 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pankso@41 45 cp -a $_pkg/usr/lib/pidgin $fs/usr/lib
pankso@41 46 cp -a $_pkg/usr/lib/purple-2 $fs/usr/lib
pankso@41 47 rm $fs/usr/lib/pidgin/*.la
pankso@41 48 rm $fs/usr/lib/purple-2/*.la
pankso@41 49 cp -a $_pkg/usr/share/purple $fs/usr/share
pankso@41 50 cp -a $_pkg/usr/share/pixmaps/pidgin $fs/usr/share/pixmaps
pankso@41 51 cp -a $_pkg/usr/share/icons/hicolor/24x24/apps/* $fs/usr/share/pixmaps
pankso@41 52 }
pankso@41 53