wok-4.x annotate gajim/receipt @ rev 10841

locale-zh_CN: Fixed post_install and post_remove to be only work when not being installed with --root option.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri Jun 10 02:24:41 2011 +0800 (2011-06-10)
parents 4e1ba79cde38
children
rev   line source
rocky@3545 1 # SliTaz package receipt.
rocky@3545 2
rocky@3545 3 PACKAGE="gajim"
slaxemulator@7495 4 VERSION="0.14.1"
rocky@3545 5 CATEGORY="network"
rocky@3545 6 SHORT_DESC="Gtk Jabber client."
rocky@3545 7 MAINTAINER="rocky@slitaz.org"
rocky@3545 8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
rocky@3545 9 WEB_SITE="http://www.gajim.org/"
slaxemulator@7495 10 WGET_URL="http://www.gajim.org/downloads/${VERSION%.*}/$TARBALL"
rocky@3545 11
erjo@9965 12 DEPENDS="gtkspell python dbus-python pygtk pygobject pyopenssl python-pysqlite xorg-libXss bind-client"
erjo@9965 13 BUILD_DEPENDS="gettext xcb-util-dev enchant-dev xorg-scrnsaverproto xorg-xextproto \
erjo@9965 14 python-dev libffi-dev intltool pygtk-dev"
erjo@9965 15
rocky@3545 16 # Rules to configure and make the package.
rocky@3545 17 compile_rules()
rocky@3545 18 {
rocky@3545 19 cd $src
slaxemulator@10326 20 ./configure $CONFIGURE_ARGS &&
slaxemulator@10326 21 make && make install
rocky@3545 22 }
rocky@3545 23
rocky@3545 24 # Rules to gen a SliTaz package suitable for Tazpkg.
rocky@3545 25 genpkg_rules()
rocky@3545 26 {
slaxemulator@6534 27 mkdir -p $fs/usr/share/pixmaps
rocky@3545 28 cp -a $_pkg/usr/bin $fs/usr
rocky@3545 29 cp -a $_pkg/usr/share/gajim $fs/usr/share
slaxemulator@6534 30 cp -a $_pkg/usr/share/icons/hicolor/64x64/apps/gajim.png $fs/usr/share/pixmaps
rocky@3545 31 cp -a $_pkg/usr/share/applications $fs/usr/share
rocky@3545 32 chmod +x $fs/usr/bin/*
rocky@3545 33 }