wok-next annotate gajim/receipt @ rev 3831

Up: glade3 (3.6.6)
author Christophe Lincoln <pankso@slitaz.org>
date Fri Aug 07 00:37:38 2009 +0200 (2009-08-07)
parents 38a300aed37e
children 6d7dbf11b4d1
rev   line source
rocky@3545 1 # SliTaz package receipt.
rocky@3545 2
rocky@3545 3 PACKAGE="gajim"
rocky@3545 4 VERSION="0.12.3"
rocky@3545 5 CATEGORY="network"
rocky@3545 6 SHORT_DESC="Gtk Jabber client."
rocky@3545 7 MAINTAINER="rocky@slitaz.org"
rocky@3683 8 DEPENDS="gtkspell python dbus-python pygtk pygobject pyopenssl python-pysqlite xorg-libXss bind-client"
rocky@3579 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"
rocky@3545 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
rocky@3545 11 WEB_SITE="http://www.gajim.org/"
rocky@3545 12 WGET_URL="http://www.gajim.org/downloads/$TARBALL"
rocky@3545 13
rocky@3545 14 # Rules to configure and make the package.
rocky@3545 15 compile_rules()
rocky@3545 16 {
rocky@3545 17 cd $src
rocky@3594 18 while read file; do
rocky@3594 19 [ -f done.$file ] && continue
rocky@3594 20 echo "Apply $file..."
rocky@3594 21 patch -p1 < ../stuff/$file || return 1
rocky@3594 22 touch done.$file
rocky@3594 23 done <<EOT
rocky@3594 24 host_srv.patch
rocky@3594 25 EOT
rocky@3545 26 ./configure --prefix=/usr \
rocky@3545 27 --mandir=/usr/share/man \
rocky@3545 28 $CONFIGURE_ARGS &&
rocky@3545 29 make &&
rocky@3545 30 make DESTDIR=$PWD/_pkg install
rocky@3545 31 }
rocky@3545 32
rocky@3545 33 # Rules to gen a SliTaz package suitable for Tazpkg.
rocky@3545 34 genpkg_rules()
rocky@3545 35 {
rocky@3545 36 mkdir -p $fs/usr/share
rocky@3545 37 cp -a $_pkg/usr/bin $fs/usr
rocky@3545 38 cp -a $_pkg/usr/lib $fs/usr
rocky@3545 39 cp -a $_pkg/usr/share/gajim $fs/usr/share
rocky@3545 40 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
rocky@3545 41 cp -a $_pkg/usr/share/applications $fs/usr/share
rocky@3545 42 find $fs/usr/lib -name *.la -delete
rocky@3545 43 chmod +x $fs/usr/bin/*
rocky@3545 44 }