wok annotate gajim/receipt @ rev 7205
Up: yasm to 1.1.0.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Nov 09 16:19:19 2010 +0000 (2010-11-09) |
parents | 70c54b27468a |
children | 1a51049b1fbe |
rev | line source |
---|---|
rocky@3545 | 1 # SliTaz package receipt. |
rocky@3545 | 2 |
rocky@3545 | 3 PACKAGE="gajim" |
slaxemulator@6534 | 4 VERSION="0.14" |
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@6534 | 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 } |