wok-6.x annotate gajim/receipt @ rev 4365
mirage: fix depends
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Sat Oct 10 23:09:05 2009 +0000 (2009-10-10) |
parents | 724272f085f8 |
children | 81c238423eb1 |
rev | line source |
---|---|
rocky@3545 | 1 # SliTaz package receipt. |
rocky@3545 | 2 |
rocky@3545 | 3 PACKAGE="gajim" |
pascal@4310 | 4 VERSION="0.12.5" |
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 } |