wok annotate gajim/receipt @ rev 5413
Up: gajim (0.13.4) + build fix
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Mon May 03 19:48:47 2010 +0000 (2010-05-03) |
parents | 81c238423eb1 |
children | 54762e6757d0 |
rev | line source |
---|---|
rocky@3545 | 1 # SliTaz package receipt. |
rocky@3545 | 2 |
rocky@3545 | 3 PACKAGE="gajim" |
devl547@5413 | 4 VERSION="0.13.4" |
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" |
devl547@5413 | 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" |
rocky@3545 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
rocky@3545 | 11 WEB_SITE="http://www.gajim.org/" |
erjo@4698 | 12 WGET_URL="http://www.gajim.org/downloads/${VERSION%.*}/$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@3545 | 18 ./configure --prefix=/usr \ |
rocky@3545 | 19 --mandir=/usr/share/man \ |
rocky@3545 | 20 $CONFIGURE_ARGS && |
rocky@3545 | 21 make && |
rocky@3545 | 22 make DESTDIR=$PWD/_pkg install |
rocky@3545 | 23 } |
rocky@3545 | 24 |
rocky@3545 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
rocky@3545 | 26 genpkg_rules() |
rocky@3545 | 27 { |
rocky@3545 | 28 mkdir -p $fs/usr/share |
rocky@3545 | 29 cp -a $_pkg/usr/bin $fs/usr |
rocky@3545 | 30 cp -a $_pkg/usr/lib $fs/usr |
rocky@3545 | 31 cp -a $_pkg/usr/share/gajim $fs/usr/share |
rocky@3545 | 32 cp -a $_pkg/usr/share/pixmaps $fs/usr/share |
rocky@3545 | 33 cp -a $_pkg/usr/share/applications $fs/usr/share |
rocky@3545 | 34 find $fs/usr/lib -name *.la -delete |
rocky@3545 | 35 chmod +x $fs/usr/bin/* |
rocky@3545 | 36 } |