wok-next view pidgin/receipt @ rev 149

UP : coreutils (6.10)
author Christophe Lincoln <pankso@slitaz.org>
date Fri Jan 25 21:10:36 2008 +0100 (2008-01-25)
parents 18fdde91c521
children 4959e5789caa
line source
1 # SliTaz package receipt.
3 PACKAGE="pidgin"
4 VERSION="2.3.1"
5 CATEGORY="extra"
6 SHORT_DESC="Instant messaging client using GTK+."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="gtk+"
9 BUILD_DEPENDS="gtk+-dev openssl-dev libcrypto-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.pidgin.im/"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr --infodir=/usr/share/info \
19 --mandir=/usr/share/man --disable-perl $CONFIGURE_ARGS
20 make
21 make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/lib $fs/usr/share/locale $fs/usr/share/pixmaps
28 cp -a $_pkg/usr/bin $fs/usr
29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
30 cp -a $_pkg/usr/lib/pidgin $fs/usr/lib
31 cp -a $_pkg/usr/lib/purple-2 $fs/usr/lib
32 rm $fs/usr/lib/pidgin/*.la
33 rm $fs/usr/lib/purple-2/*.la
34 cp -a $_pkg/usr/share/purple $fs/usr/share
35 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
36 strip -s $fs/usr/bin/*
37 strip --strip-unneeded $fs/usr/lib/*.so*
38 strip --strip-unneeded $fs/usr/lib/pidgin/*
39 strip --strip-unneeded $fs/usr/lib/purple-2/*
40 cp -a $_pkg/usr/share/pixmaps/pidgin $fs/usr/share/pixmaps
41 cp -a $_pkg/usr/share/icons/hicolor/24x24/apps/* $fs/usr/share/pixmaps
42 }