wok-current view gajim/receipt @ rev 25685
Add checkspace / fetchall feature for tazpkg
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Thu Mar 14 20:28:39 2024 +0000 (8 months ago) |
parents | 00e3b45c063b |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="gajim"
4 VERSION="0.14.1"
5 CATEGORY="network"
6 SHORT_DESC="Gtk Jabber client."
7 MAINTAINER="rocky@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://gajim.org/"
11 WGET_URL="https://gajim.org/downloads/0.x/${VERSION%.*}/$TARBALL"
13 DEPENDS="gtkspell python dbus-python pygtk pygobject pyopenssl python-pysqlite \
14 xorg-libXss bind-client"
15 BUILD_DEPENDS="gettext xcb-util-dev enchant-dev xorg-scrnsaverproto \
16 xorg-xextproto python-dev libffi-dev intltool pygtk-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - $WEB_SITE 2>/dev/null | \
22 sed '/Gajim [0-9]/!d;s|.*ajim ||;s| .*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure $CONFIGURE_ARGS &&
29 make && make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/share/pixmaps
36 cp -a $install/usr/bin $fs/usr
37 cp -a $install/usr/share/gajim $fs/usr/share
38 cp -a $install/usr/share/icons/hicolor/64x64/apps/gajim.png \
39 $fs/usr/share/pixmaps
40 cp -a $install/usr/share/applications $fs/usr/share
41 chmod +x $fs/usr/bin/*
42 }