wok-4.x view pidgin/receipt @ rev 153
Add JWM_MENU infos
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jan 26 19:03:45 2008 +0100 (2008-01-26) |
parents | 1b129a8fd309 |
children | 3c1e91a7263a |
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"
13 JWM_MENU='Internet:<Program icon="pidgin.png" label="Pidgin">pidgin</Program>'
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure --prefix=/usr --infodir=/usr/share/info \
20 --mandir=/usr/share/man --disable-perl $CONFIGURE_ARGS
21 make
22 make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/lib $fs/usr/share/locale $fs/usr/share/pixmaps
29 cp -a $_pkg/usr/bin $fs/usr
30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
31 cp -a $_pkg/usr/lib/pidgin $fs/usr/lib
32 cp -a $_pkg/usr/lib/purple-2 $fs/usr/lib
33 rm $fs/usr/lib/pidgin/*.la
34 rm $fs/usr/lib/purple-2/*.la
35 cp -a $_pkg/usr/share/purple $fs/usr/share
36 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
37 strip -s $fs/usr/bin/*
38 strip --strip-unneeded $fs/usr/lib/*.so*
39 strip --strip-unneeded $fs/usr/lib/pidgin/*
40 strip --strip-unneeded $fs/usr/lib/purple-2/*
41 cp -a $_pkg/usr/share/pixmaps/pidgin $fs/usr/share/pixmaps
42 cp -a $_pkg/usr/share/icons/hicolor/24x24/apps/* $fs/usr/share/pixmaps
43 }