wok-6.x annotate gajim/receipt @ rev 25122
Up apache (2.4.54)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jun 28 08:48:09 2022 +0000 (2022-06-28) |
parents | af8d823a3077 |
children | 73f36875e5a7 |
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" |
pascal@15201 | 8 LICENSE="GPL3" |
rocky@3545 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
rocky@3545 | 10 WEB_SITE="http://www.gajim.org/" |
pascal@24978 | 11 WGET_URL="http://www.gajim.org/downloads/0.x/${VERSION%.*}/$TARBALL" |
rocky@3545 | 12 |
al@18077 | 13 DEPENDS="gtkspell python dbus-python pygtk pygobject pyopenssl python-pysqlite \ |
al@18077 | 14 xorg-libXss bind-client" |
al@18077 | 15 BUILD_DEPENDS="gettext xcb-util-dev enchant-dev xorg-scrnsaverproto \ |
al@18077 | 16 xorg-xextproto python-dev libffi-dev intltool pygtk-dev" |
erjo@9965 | 17 |
pascal@24445 | 18 # What is the latest version available today? |
pascal@24445 | 19 current_version() |
pascal@24445 | 20 { |
pascal@24445 | 21 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24445 | 22 sed '/Gajim [0-9]/!d;s|.*ajim ||;s| .*||;q' |
pascal@24445 | 23 } |
pascal@24445 | 24 |
rocky@3545 | 25 # Rules to configure and make the package. |
rocky@3545 | 26 compile_rules() |
rocky@3545 | 27 { |
al@18077 | 28 ./configure $CONFIGURE_ARGS && |
al@18077 | 29 make && make install |
rocky@3545 | 30 } |
rocky@3545 | 31 |
rocky@3545 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
rocky@3545 | 33 genpkg_rules() |
rocky@3545 | 34 { |
al@18077 | 35 mkdir -p $fs/usr/share/pixmaps |
al@18077 | 36 cp -a $install/usr/bin $fs/usr |
al@18077 | 37 cp -a $install/usr/share/gajim $fs/usr/share |
al@18077 | 38 cp -a $install/usr/share/icons/hicolor/64x64/apps/gajim.png \ |
al@18077 | 39 $fs/usr/share/pixmaps |
al@18077 | 40 cp -a $install/usr/share/applications $fs/usr/share |
al@18077 | 41 chmod +x $fs/usr/bin/* |
rocky@3545 | 42 } |