wok-6.x view mcabber/receipt @ rev 24938

mypaint-brushes: add current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Apr 14 09:10:40 2022 +0000 (2022-04-14)
parents 83b97236db32
children
line source
1 # SliTaz package receipt.
3 PACKAGE="mcabber"
4 VERSION="1.1.2"
5 CATEGORY="network"
6 SHORT_DESC="Jabber console client."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://mcabber.com/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="${WEB_SITE}files/$TARBALL"
14 SUGGESTED="mcabber-help"
15 DEPENDS="glib gpgme libasyncns libcrypto libgpg-error loudmouth ncurses openssl"
16 BUILD_DEPENDS="glib-dev libasyncns-dev loudmouth-dev ncurses-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/*} 2>/dev/null | \
22 sed "/current/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure &&
29 make &&
30 make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 cook_copy_folders bin
37 }