wok annotate 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 |
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@3545 | 8 DEPENDS="gtkspell python dbus-python pygtk pygobject pyopenssl pysqlite xorg-libXss bindutils" |
rocky@3545 | 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" |
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@3545 | 18 patch -p1 < ../stuff/host_srv.patch && |
rocky@3545 | 19 ./configure --prefix=/usr \ |
rocky@3545 | 20 --mandir=/usr/share/man \ |
rocky@3545 | 21 $CONFIGURE_ARGS && |
rocky@3545 | 22 make && |
rocky@3545 | 23 make DESTDIR=$PWD/_pkg install |
rocky@3545 | 24 } |
rocky@3545 | 25 |
rocky@3545 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
rocky@3545 | 27 genpkg_rules() |
rocky@3545 | 28 { |
rocky@3545 | 29 mkdir -p $fs/usr/share |
rocky@3545 | 30 cp -a $_pkg/usr/bin $fs/usr |
rocky@3545 | 31 cp -a $_pkg/usr/lib $fs/usr |
rocky@3545 | 32 cp -a $_pkg/usr/share/gajim $fs/usr/share |
rocky@3545 | 33 cp -a $_pkg/usr/share/pixmaps $fs/usr/share |
rocky@3545 | 34 cp -a $_pkg/usr/share/applications $fs/usr/share |
rocky@3545 | 35 find $fs/usr/lib -name *.la -delete |
rocky@3545 | 36 chmod +x $fs/usr/bin/* |
rocky@3545 | 37 } |