wok-next annotate gajim/receipt @ rev 9404
Up: slitaz-mercurial-style to 1.0.7. You didn't tag. Also no need for high jumps since it will make everything else 2.0.x for linearer versioning.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Mar 27 18:50:59 2011 +0000 (2011-03-27) |
parents | 54762e6757d0 |
children | 5d9a6e5f6f88 |
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@3683 | 8 DEPENDS="gtkspell python dbus-python pygtk pygobject pyopenssl python-pysqlite xorg-libXss bind-client" |
slaxemulator@6534 | 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 intltool" |
rocky@3545 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
rocky@3545 | 11 WEB_SITE="http://www.gajim.org/" |
slaxemulator@7495 | 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 { |
slaxemulator@6534 | 28 mkdir -p $fs/usr/share/pixmaps |
rocky@3545 | 29 cp -a $_pkg/usr/bin $fs/usr |
rocky@3545 | 30 cp -a $_pkg/usr/share/gajim $fs/usr/share |
slaxemulator@6534 | 31 cp -a $_pkg/usr/share/icons/hicolor/64x64/apps/gajim.png $fs/usr/share/pixmaps |
rocky@3545 | 32 cp -a $_pkg/usr/share/applications $fs/usr/share |
rocky@3545 | 33 chmod +x $fs/usr/bin/* |
slaxemulator@6534 | 34 find $fs/usr/share/gajim/ -name "*.pyo" -delete |
slaxemulator@6534 | 35 find $fs/usr/share/gajim/ -name "*.pyc" -delete |
rocky@3545 | 36 } |