wok-current annotate 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
rev   line source
pascal@1116 1 # SliTaz package receipt.
pascal@1116 2
pascal@1116 3 PACKAGE="mcabber"
gokhlayeh@9227 4 VERSION="0.9.10"
pascal@1423 5 CATEGORY="network"
pascal@1116 6 SHORT_DESC="Jabber console client."
pascal@1116 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15002 8 LICENSE="GPL2"
pascal@1116 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@1116 10 WEB_SITE="http://lilotux.net/~mikael/mcabber"
pascal@1116 11 WGET_URL="$WEB_SITE/files/$TARBALL"
pascal@15002 12
pankso@3429 13 DEPENDS="libcrypto openssl glib gpgme libgpg-error ncurses"
pascal@12579 14 BUILD_DEPENDS="ncurses-dev glib-dev"
pascal@1116 15
pascal@24427 16 # What is the latest version available today?
pascal@24427 17 current_version()
pascal@24427 18 {
pascal@24427 19 wget -O - ${WGET_URL%/*} 2>/dev/null | \
pascal@24427 20 sed "/current/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24427 21 }
pascal@24427 22
pascal@1116 23 # Rules to configure and make the package.
pascal@1116 24 compile_rules()
pascal@1116 25 {
pascal@1116 26 cd $src
gokhlayeh@9227 27 ./configure && make && make install
pascal@1116 28 }
pascal@1116 29
pascal@1116 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1116 31 genpkg_rules()
pascal@1116 32 {
pascal@1116 33 mkdir -p $fs/usr
pascal@15002 34 cp -a $install/usr/bin $fs/usr
pascal@1116 35 }
pascal@1116 36