wok-current view gajim/receipt @ rev 3545

Add gajim
author Liu Peng <rocky@slitaz.org>
date Tue Jun 23 12:11:03 2009 +0800 (2009-06-23)
parents
children 1794ce625358
line source
1 # SliTaz package receipt.
3 PACKAGE="gajim"
4 VERSION="0.12.3"
5 CATEGORY="network"
6 SHORT_DESC="Gtk Jabber client."
7 MAINTAINER="rocky@slitaz.org"
8 DEPENDS="gtkspell python dbus-python pygtk pygobject pyopenssl pysqlite xorg-libXss bindutils"
9 BUILD_DEPENDS="gettext gtkspell gtkspell-dev python-dev pygtk-dev pygobject-dev dbus-dev xorg-libXss xorg-libXss-dev xcb-util-dev enchant-dev xorg-scrnsaverproto xorg-xextproto"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.gajim.org/"
12 WGET_URL="http://www.gajim.org/downloads/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 patch -p1 < ../stuff/host_srv.patch &&
19 ./configure --prefix=/usr \
20 --mandir=/usr/share/man \
21 $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/share
30 cp -a $_pkg/usr/bin $fs/usr
31 cp -a $_pkg/usr/lib $fs/usr
32 cp -a $_pkg/usr/share/gajim $fs/usr/share
33 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
34 cp -a $_pkg/usr/share/applications $fs/usr/share
35 find $fs/usr/lib -name *.la -delete
36 chmod +x $fs/usr/bin/*
37 }