wok-4.x view gajim/receipt @ rev 4685

Up: python-couchdbkit (0.3.1)
author Claudinei Pereira <claudinei@slitaz.org>
date Wed Dec 30 14:26:07 2009 +0000 (2009-12-30)
parents 724272f085f8
children 81c238423eb1
line source
1 # SliTaz package receipt.
3 PACKAGE="gajim"
4 VERSION="0.12.5"
5 CATEGORY="network"
6 SHORT_DESC="Gtk Jabber client."
7 MAINTAINER="rocky@slitaz.org"
8 DEPENDS="gtkspell python dbus-python pygtk pygobject pyopenssl python-pysqlite xorg-libXss bind-client"
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 gtk+-dev"
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 while read file; do
19 [ -f done.$file ] && continue
20 echo "Apply $file..."
21 patch -p1 < ../stuff/$file || return 1
22 touch done.$file
23 done <<EOT
24 host_srv.patch
25 EOT
26 ./configure --prefix=/usr \
27 --mandir=/usr/share/man \
28 $CONFIGURE_ARGS &&
29 make &&
30 make DESTDIR=$PWD/_pkg install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/share
37 cp -a $_pkg/usr/bin $fs/usr
38 cp -a $_pkg/usr/lib $fs/usr
39 cp -a $_pkg/usr/share/gajim $fs/usr/share
40 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
41 cp -a $_pkg/usr/share/applications $fs/usr/share
42 find $fs/usr/lib -name *.la -delete
43 chmod +x $fs/usr/bin/*
44 }