wok view gajim/receipt @ rev 24715
updated lfs-book (8.4 -> 11.1)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 15 06:57:03 2022 +0100 (2022-03-15) |
parents | 16df76e1fc6a |
children | 00e3b45c063b |
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="http://www.gajim.org/"
11 WGET_URL="http://www.gajim.org/downloads/${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 }