wok-current diff 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 diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/gajim/receipt Tue Jun 23 12:11:03 2009 +0800 1.3 @@ -0,0 +1,37 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="gajim" 1.7 +VERSION="0.12.3" 1.8 +CATEGORY="network" 1.9 +SHORT_DESC="Gtk Jabber client." 1.10 +MAINTAINER="rocky@slitaz.org" 1.11 +DEPENDS="gtkspell python dbus-python pygtk pygobject pyopenssl pysqlite xorg-libXss bindutils" 1.12 +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" 1.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.14 +WEB_SITE="http://www.gajim.org/" 1.15 +WGET_URL="http://www.gajim.org/downloads/$TARBALL" 1.16 + 1.17 +# Rules to configure and make the package. 1.18 +compile_rules() 1.19 +{ 1.20 + cd $src 1.21 + patch -p1 < ../stuff/host_srv.patch && 1.22 + ./configure --prefix=/usr \ 1.23 + --mandir=/usr/share/man \ 1.24 + $CONFIGURE_ARGS && 1.25 + make && 1.26 + make DESTDIR=$PWD/_pkg install 1.27 +} 1.28 + 1.29 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.30 +genpkg_rules() 1.31 +{ 1.32 + mkdir -p $fs/usr/share 1.33 + cp -a $_pkg/usr/bin $fs/usr 1.34 + cp -a $_pkg/usr/lib $fs/usr 1.35 + cp -a $_pkg/usr/share/gajim $fs/usr/share 1.36 + cp -a $_pkg/usr/share/pixmaps $fs/usr/share 1.37 + cp -a $_pkg/usr/share/applications $fs/usr/share 1.38 + find $fs/usr/lib -name *.la -delete 1.39 + chmod +x $fs/usr/bin/* 1.40 +}