wok view gajim/receipt @ rev 7856

ruby: build and package with shared library, added zlib-dev BUILD_DEPENDS.
author Liu Peng <rocky@slitaz.org>
date Fri Dec 31 08:55:12 2010 +0000 (2010-12-31)
parents 54762e6757d0
children 5d9a6e5f6f88
line source
1 # SliTaz package receipt.
3 PACKAGE="gajim"
4 VERSION="0.14.1"
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 libffi-dev intltool"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.gajim.org/"
12 WGET_URL="http://www.gajim.org/downloads/${VERSION%.*}/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr \
19 --mandir=/usr/share/man \
20 $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/share/pixmaps
29 cp -a $_pkg/usr/bin $fs/usr
30 cp -a $_pkg/usr/share/gajim $fs/usr/share
31 cp -a $_pkg/usr/share/icons/hicolor/64x64/apps/gajim.png $fs/usr/share/pixmaps
32 cp -a $_pkg/usr/share/applications $fs/usr/share
33 chmod +x $fs/usr/bin/*
34 find $fs/usr/share/gajim/ -name "*.pyo" -delete
35 find $fs/usr/share/gajim/ -name "*.pyc" -delete
36 }