wok annotate telegram/receipt @ rev 25171

updated python-docutils (0.16 -> 0.18.1)
author Hans-G?nter Theisgen
date Fri Jul 01 16:17:26 2022 +0100 (2022-07-01)
parents 9689f1b75619
children
rev   line source
pascal@16744 1 # SliTaz package receipt.
pascal@16744 2
pascal@16744 3 PACKAGE="telegram"
pascal@16744 4 GITHASH="1dad2e89933085ea1e3d9fb1becb1907ce5de55f"
pascal@16744 5 VERSION="${GITHASH:0:7}"
pascal@16744 6 CATEGORY="network"
pascal@16744 7 SHORT_DESC="Telegram messenger CLI"
pascal@16744 8 MAINTAINER="pascal.bellard@slitaz.org"
pascal@16744 9 LICENSE="GPL2"
pascal@16744 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@16744 11 WEB_SITE="https://github.com/vysheng/tg"
pascal@16744 12 WGET_URL="$WEB_SITE/archive/$GITHASH.tar.gz"
pascal@16744 13
pascal@17482 14 DEPENDS="libconfig libedit ncursesw libcrypto"
pascal@16744 15 BUILD_DEPENDS="wget libconfig-dev lua-dev readline-dev openssl-dev libedit"
pascal@16744 16
pascal@24308 17 # What is the latest version available today?
pascal@24308 18 current_version()
pascal@24308 19 {
pascal@24308 20 wget -O - $WEB_SITE/tags 2>/dev/null | \
pascal@24308 21 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
pascal@24308 22 }
pascal@24308 23
pascal@16744 24 # Rules to configure and make the package.
pascal@16744 25 compile_rules()
pascal@16744 26 {
pascal@16744 27 ./configure --prefix=/usr $CONFIGURE_ARGS &&
pascal@16744 28 make
pascal@16744 29 }
pascal@16744 30
pascal@16744 31 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@16744 32 genpkg_rules()
pascal@16744 33 {
pascal@16744 34 mkdir -p $fs/usr/bin
pascal@16744 35 cp -a $src/telegram $fs/usr/bin
pascal@16744 36 }