wok-current view mcabber/receipt @ rev 24569
sokojs: add shrink.sh (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Feb 26 18:46:53 2022 +0000 (2022-02-26) |
parents | 7896f0694ef6 |
children | bd49261ff4ba |
line source
1 # SliTaz package receipt.
3 PACKAGE="mcabber"
4 VERSION="0.9.10"
5 CATEGORY="network"
6 SHORT_DESC="Jabber console client."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://lilotux.net/~mikael/mcabber"
11 WGET_URL="$WEB_SITE/files/$TARBALL"
13 DEPENDS="libcrypto openssl glib gpgme libgpg-error ncurses"
14 BUILD_DEPENDS="ncurses-dev glib-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - ${WGET_URL%/*} 2>/dev/null | \
20 sed "/current/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 cd $src
27 ./configure && make && make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr
34 cp -a $install/usr/bin $fs/usr
35 }