wok-6.x view gajim/receipt @ rev 3678

Add pgadmin
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sat Jul 11 17:13:21 2009 +0200 (2009-07-11)
parents 9107c12aad0a
children 38a300aed37e
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 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 }